question about g_force_shutdown
Posted: Tue Nov 01, 2016 11:57 am
I wonder, why there is a need to force shutdown via g_force_shutdown?
It causes hangs on Windows when you call ::exit() or ExitProcess()
(because of windows process rundown sequence,
all threads except main thread are terminated before g_force_shutdown destructor),
in uithread_shutdown_event.Wait().
I am calling ExitProcess() from UnhandledExceptionFilter and don't care
about cef correct shutdown.
It causes hangs on Windows when you call ::exit() or ExitProcess()
(because of windows process rundown sequence,
all threads except main thread are terminated before g_force_shutdown destructor),
in uithread_shutdown_event.Wait().
I am calling ExitProcess() from UnhandledExceptionFilter and don't care
about cef correct shutdown.