also I am using Qt Creator and MinGW (whatever the last version is). I know
in Visual Studio you can specify the /MD option to use shared CRT libs and
to avoid this problem. Any MinGW gurus around with hints?

Nick

On Sat, Feb 28, 2015 at 2:46 PM, Trajce Nikolov NICK <
trajce.nikolov.n...@gmail.com> wrote:

> Hi all,
>
> I am facing a problem with memory clean-up when mixing the place of
> allocation across dlls and the executable. Let say I have main executable
> that loads dlls (plugins) in which I allocate memory using referenced
> pointers. On exit, those pointers that were allocated in one of the dlls
> got stucked in
>
> if (needDelete)
>
>     {
>
>         signalObserversAndDelete(true,true);
>
>     }
>
>
> Ln 198 in Referenced. And this is Windows only, on Mac or Linux I don't have 
> this problem.
>
>
> If I clean these pointers from the originated dll, it works ok, otherwise not.
>
>
> Any clue?
>
>
> Thanks as allways!
>
>
> Nick
>
>
> --
> trajce nikolov nick
>



-- 
trajce nikolov nick
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to