You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 22, 2023. It is now read-only.
In some case (like threading / synchronization issues on Windows), C++ modules need to do some cleanup before the DLL gets unloaded per say (and before stdlib's atexit() ).
In such cases, it would be handy if we could register for some sort of "finalize" callback. It's possible that "process.on('exit')" could work, however I'm not sure that it's easy to use for a C++ only module (?).
In some case (like threading / synchronization issues on Windows), C++ modules need to do some cleanup before the DLL gets unloaded per say (and before stdlib's atexit() ).
In such cases, it would be handy if we could register for some sort of "finalize" callback. It's possible that "process.on('exit')" could work, however I'm not sure that it's easy to use for a C++ only module (?).