Provide cleanup for timer_global_clock singleton, issue #505 (#512)
* temporary workaround for python hanging on dlib::shared_ptr_thread_safe<global_clock> when extension-module using dlib is unloaded on windows platform * added some more doc and tests for the new delete_global_clock function. Minor adjustment to singleton pattern to allow easy access to singleton shared ptr * alternate _WIN32 specific solution, with no extra functions nor user-actions needed * removed floating/obsolete delete_global_clock, tab to space * leaving linux code unchanged in static desctructor * cleanup not modified files * align formatting
Showing
Please
register
or
sign in
to comment