* globals.cc (enum exit_states::ES_GLOBAL_DTORS): Delete.
* dcrt0.cc (__main): Schedule dll_global_dtors to run atexit before global dtors. (do_exit): Delete test for ES_GLOBAL_DTORS and call to dll_global_dtors.
This commit is contained in:
@@ -30,7 +30,6 @@ enum exit_states
|
||||
{
|
||||
ES_NOT_EXITING = 0,
|
||||
ES_PROCESS_LOCKED,
|
||||
ES_GLOBAL_DTORS,
|
||||
ES_EVENTS_TERMINATE,
|
||||
ES_THREADTERM,
|
||||
ES_SIGNAL,
|
||||
|
Reference in New Issue
Block a user