mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
Shutdown render threads
This commit is contained in:
parent
6dad50aab1
commit
401ba40373
@ -283,6 +283,12 @@ public class NoiseExplorerGUI extends JPanel implements MouseWheelListener {
|
||||
}
|
||||
frame.setSize(1440, 820);
|
||||
frame.setVisible(true);
|
||||
frame.addWindowListener(new java.awt.event.WindowAdapter() {
|
||||
@Override
|
||||
public void windowClosing(java.awt.event.WindowEvent windowEvent) {
|
||||
nv.gx.shutdownLater();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public static void launch(Function2<Double, Double, Double> gen, String genName) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user