haxiomic / haxe-c-bridge

Easily interact with haxe classes from C with an automatically generated C header
MIT License
51 stars 5 forks source link

Thread still alive for moments after stopHaxeThreadIfRunning #25

Closed haxiomic closed 3 years ago

haxiomic commented 3 years ago

This should wait for full shutdown, otherwise crash may occur when using dlclose()

haxiomic commented 3 years ago

hxcpp GC threads may still be running, we can kill these by calling private code in immix https://github.com/haxiomic/haxe-c-bridge/commit/5cea89a22fa707779f1ccc4f8b5a846b858ea991