Changed stop() to dispose() on crash, fixed web key triggers

This commit is contained in:
Anuken
2018-01-21 16:24:34 -05:00
parent 2172daf145
commit 10528b2f55
4 changed files with 20 additions and 9 deletions

View File

@@ -136,8 +136,7 @@ public class DesktopLauncher {
e.printStackTrace();
//attempt to close connections
try{ Net.closeServer(); }catch (Exception p){}
try{ Net.disconnect(); }catch (Exception p){}
try{ Net.dispose(); }catch (Exception p){}
//don't create crash logs for me (anuke), as it's expected
if(System.getProperty("user.name").equals("anuke")) return;