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:
parent
ad306c56c7
commit
f7dc200684
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user