Skip to content

Commit f2e57a8

Browse files
author
LAB02 Research
committed
v2022.3.15.1
1 parent 4237a8b commit f2e57a8

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/DeepLClient/Managers/UpdateManager.cs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -275,14 +275,11 @@ private static void StartUpdate()
275275
}
276276
finally
277277
{
278-
// note: this is a risk, incase the updater doesn't properly launch
278+
// note: this is a risk, in case the updater doesn't properly launch
279279
// but if we're not closed when it has launched, it'll get stuck waiting for us until the end of times
280-
281-
// flush our logs
282-
Log.CloseAndFlush();
283-
280+
284281
// bye bye
285-
Environment.Exit(0);
282+
ProcessManager.Shutdown();
286283
}
287284
}
288285

0 commit comments

Comments
 (0)