>
> It only took several months but I found the culprit code... I had a method 
> called getReference which I was specifically using to increase the pointer 
> counts as I was seeing my pointers being deleted as they exited their 
> scope. This method returned an IThreadObject and though the object passed 
> in had ThreadObject<T> as a superclass, because it's explicit return type 
> was IThreadObject, embind uses IThreadObject, not the actual type of the 
> object.
>

Now that I've removed that code, this issue no longer persists. Annoyingly, 
the issue of my objects dying when exiting scope does still exist.
https://github.com/kripken/emscripten/issues/4154 

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to