Re: Incomplete shutdown (Eclipse)
Posted by
raptor on
URL: https://forum.jogamp.org/Incomplete-shutdown-Eclipse-tp4025154p4032510.html
OK.
This
does does point to JOGL being a culprit.
Eclipse will not complacently exit the process if there is still an open handle.
If I run the below code the same behavior is exhibited:
public class HogApp {
public static void main(String[] args) {
try {
ProcessBuilder pb = new ProcessBuilder(new String[]{"cmd","/c","start","notepad.exe"});
Process p = pb.start();
Thread.sleep(5000); //wait for 5 sec
p.destroy();
} catch (Exception e) {
// TODO: handle exception
}
}
}
NOTE:
I also use the ATI Catalyst drivers (14.4), as sylz above. So this may mean that JOGL does not release a handle to "something" that may automatically be closed by other driver implementations.
Also remember that the LWJGL does seam to explicitly release "this" handle, as the problem does not happen when using this framework.
___