Commit 52e5ac5e authored by Alexandre Julliard's avatar Alexandre Julliard

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

still open.
parent e432d54f
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment