Make sure leaked objects are printed even if a file descriptor is

still open.
This commit is contained in:
Alexandre Julliard 2005-02-03 10:46:15 +00:00
parent e432d54fd7
commit 52e5ac5e41
2 changed files with 1 additions and 4 deletions

View file

@ -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;
}

View file

@ -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