Skip to content

Commit d12a6f1

Browse files
committed
Fixed exiting error, again
1 parent d41f41a commit d12a6f1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Quest2-VRC/Modules/ADB.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,11 +231,12 @@ public static void StopADB()
231231
{
232232
if (!AdbServer.Instance.GetStatus().IsRunning == false)
233233
{
234+
client.KillAdb();
234235
Environment.Exit(1987);
235236
}
236237
else
237238
{
238-
client.KillAdb();
239+
Environment.Exit(1987);
239240
}
240241

241242
}

0 commit comments

Comments
 (0)