1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2025-05-09 23:34:06 +02:00

Kill process instead of Environment.FailFast if possible

This commit is contained in:
chylex 2016-09-20 17:11:36 +02:00
parent ad306c56c7
commit f7dc200684

View File

@ -64,7 +64,11 @@ public void HandleException(string caption, string message, bool canIgnore, Exce
}
}
Environment.FailFast(message, e);
try{
Process.GetCurrentProcess().Kill();
}catch{
Environment.FailFast(message, e);
}
}
}
}