Just FYI, I'm running into the same issue.  Threads are still running when the 
window system close is being used under Windows.  I have to use the task 
manager to kill them off.
 
-B
 
---
Brad Colbert
Renaissance Sciences Corporation
W: 480 290-3997
F: 425 675-8044

________________________________

From: [EMAIL PROTECTED] on behalf of Robert Osfield
Sent: Thu 5/17/2007 10:47 AM
To: osg users
Subject: Re: [osg-users] Win32 CLOSE event



Hi Serge,

On 5/17/07, Serge Lages <[EMAIL PROTECTED]> wrote:
> Hum actually Windows properly send a close event. The GraphicsWindowWin32
> then calls a getEventQueue()->closeWindow(eventTime);
> So I was wondering if it's normal that in Viewer.cpp (line 1883) when it
> catch the close event, it doesn't set _done at true ?

The catch of the close event does the close of the window (line 1883),
and in the Viewer::renderingTraversals() then calls
Viewer::checkWindowStatus() which checks to see any windows are open,
if all are closed then it sets _done=true;

The question therefore is...

  1) does the gw->close() work?

  2) does renderingTraversals() get subsequently called?

  3) does checkWindowStatus() get called?

  4) does it report there are still valid windows open even when there aren't...

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/


<<winmail.dat>>

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to