Bug 33

Summary: Animator prevents normal program exit.
Product: [JogAmp] Jogl Reporter: Sven Gothel <sgothel>
Component: coreAssignee: Sven Gothel <sgothel>
Status: VERIFIED WORKSFORME    
Severity: normal    
Priority: P3    
Version: 1   
Hardware: All   
OS: windows   
Type: DEFECT SCM Refs:
Workaround: ---

Description Sven Gothel 2010-03-24 07:45:47 CET


---- Reported by lamere 2003-08-11 04:21:40 ----

On win32, when I use the Animator, even though I've properly 'stopped' the
animator, when my program calls 'System.exit()' the program will not exit. I
must kill the program manually with the task manager.

I've noticed that if I remove the workaround for the Nvidia driver https://jogl.dev.java.net/bugs/show_bug.cgi?id=80174 in
the animator, this problem goes away. That is, if I remove the code at lines
69-72 of the Animator:

    // Workaround for NVidia driver https://jogl.dev.java.net/bugs/show_bug.cgi?id=80174
    if (drawable instanceof GLCanvas) {
      ((GLCanvas) drawable).willSetRenderingThread();
    }

My program will exit normally.

Environment:

Win32
JDK 1.4.2
Jogl version July 17
Radeon 7500
P4 2.4 Ghz



---- Additional Comments From kbr 2005-01-30 22:55:15 ----

Sorry for not commenting on this bug earlier. There have been many bug fixes to
JOGL since its initial release, and in particular several recent workarounds for
bugs in ATI's OpenGL drivers. The latest such workarounds are currently in the
CVS repository; they will be in the forthcoming 1.1 b08. Please retest your
application once this beta comes out and reopen this issue or file a new bug if
problems persist.




--- Bug imported by sgothel@jausoft.com 2010-03-24 07:45 EDT  ---

This bug was previously known as _bug_ 33 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=33