Hi Robert,

I did so. The modified example works with dynamic viewer
construction/destruction. The only difference is that my viewer is in a dll
and it is constructed/destructed there

-Nick


On Fri, Feb 19, 2010 at 4:21 PM, Robert Osfield <[email protected]>wrote:

> Hi Nick,
>
> On Fri, Feb 19, 2010 at 2:13 PM, Trajce (Nick) Nikolov
> <[email protected]> wrote:
> > the examples works fine .... but My app was working fine as well too :)
>
> Could you modify osgviewer so that it uses a ref_ptr<> rather than let
> it be created on the stack so mimicing the usage model of your app,
> hopefully this will also crash then I can start looking into the issue
> at my end
>
> Could you also enclose the ref_ptr<Composite/Viewer> code into a local
> scope by placing { } around it.  This should force destruction clean
> up of all the objects create on the start without those brackets,
> sometimes this can help isolate the effects of various effects.
>
> Robert.
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to