Fixed intermittent InterruptedException on exit (System.exit(0) while non-daemon threads persisted)

This commit is contained in:
Vhati 2017-12-05 22:18:05 -05:00
parent 693bf13c60
commit 27a9c9aa69

View file

@ -287,8 +287,8 @@ public class ManagerFrame extends JFrame implements ActionListener, ModsScanObse
log.error( String.format( "Error writing metadata from local mods to \"%s\".", metadataFile.getName() ), f );
}
System.gc(); // Ward off an intermittent InterruptedException from exit()?
System.exit( 0 );
System.gc();
//System.exit( 0 ); // Don't interrupt lingering non-daemon threads.
}
});