[osg-users] OSG blocking on application exit.

Robert Osfield robert.osfield at gmail.com
Tue Oct 2 05:12:30 PDT 2007


On 10/2/07, Chris Denham <c.m.denham at gmail.com> wrote:
> Hi Robert,
> Yes, the problem I was having with osgviewerMFC seems to have been fixed in
> 2.1.13. :-)
> Interestingly, I noticed that a call to mViewer->stopThreading() was added
> to a destructor in the new example code, which I thought might be the "magic
> bullet". But commenting that out seems to have no effect. i.e. it still
> works properly... heh.

stopThreading should will be called by the viewer destructor, doing it
explictly could potentially help enforce a certain ordering on
proceedings as destruction order can be a tricky issue sometimes.

Robert.



More information about the osg-users mailing list