mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 03:30:58 +00:00
Make sure leaked objects are printed even if a file descriptor is
still open.
This commit is contained in:
parent
e432d54fd7
commit
52e5ac5e41
|
@ -137,9 +137,5 @@ int main( int argc, char *argv[] )
|
|||
init_signals();
|
||||
init_registry();
|
||||
main_loop();
|
||||
|
||||
#ifdef DEBUG_OBJECTS
|
||||
dump_objects(); /* dump any remaining objects */
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -794,6 +794,7 @@ static void close_socket_timeout( void *arg )
|
|||
close_global_handles();
|
||||
close_registry();
|
||||
close_atom_table();
|
||||
dump_objects(); /* dump any remaining objects */
|
||||
#else
|
||||
exit(0);
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue