Closed haxiomic closed 3 years ago
This should wait for full shutdown, otherwise crash may occur when using dlclose()
dlclose()
pthread_self()
pthread_join()
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
This should wait for full shutdown, otherwise crash may occur when using
dlclose()
pthread_self()
to get the haxe thread handle andpthread_join()
to wait on end