This commit is contained in:
JustArchi 2017-01-29 02:16:46 +01:00
parent c48f05f5cc
commit 760068fe91

View file

@ -2595,7 +2595,7 @@ namespace ArchiSteamFarm {
private async Task Start() {
if (!KeepRunning) {
KeepRunning = true;
new Task(HandleCallbacks, TaskCreationOptions.LongRunning).Start();
Task.Factory.StartNew(HandleCallbacks, TaskCreationOptions.DenyChildAttach | TaskCreationOptions.LongRunning).Forget();
ArchiLogger.LogGenericInfo(Strings.Starting);
}