Login  Register

Re: Incomplete shutdown (Eclipse)

Posted by raptor on Jul 03, 2014; 10:05pm
URL: https://forum.jogamp.org/Incomplete-shutdown-Eclipse-tp4025154p4032520.html

You are correct, when I run the HogApp, its javaw.exe will terminate but eclipse will show that the notepad handle is still open.

However, when I run the JOGL (code below), that is not the case. The second javaw.exe will not terminate. Also I cannot see any other new process, apart from javaw.exe,  in the task manager.


import javax.media.opengl.GLProfile;

public class HogApp2 {
    public static void main(String[] args) {

    GLProfile glpMinimal = GLProfile.get(GLProfile.GL2);
   
    try {Thread.sleep(5000);System.out.println("exit");} catch (Exception e) {}
    }
}


Although this may not be a problem for some people during development,it can be an issue if we deploy our Apps to other people’s computers, as the environments vary.

-------------
gouessej: FYI: I raised this issue in bugzilla
___