Bug 33 - Animator prevents normal program exit.
Summary: Animator prevents normal program exit.
Status: VERIFIED WORKSFORME
Alias: None
Product: Jogl
Classification: JogAmp
Component: core (show other bugs)
Version: 1
Hardware: All windows
: P3 normal
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2003-08-11 04:21 CEST by Sven Gothel
Modified: 2010-03-24 07:45 CET (History)
0 users

See Also:
Type: DEFECT
SCM Refs:
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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