Fixed intermittent InterruptedException on exit (System.exit(0) while non-daemon threads persisted)
This commit is contained in:
parent
693bf13c60
commit
27a9c9aa69
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue