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[] ) ...@@ -137,9 +137,5 @@ int main( int argc, char *argv[] )
init_signals(); init_signals();
init_registry(); init_registry();
main_loop(); main_loop();
#ifdef DEBUG_OBJECTS
dump_objects(); /* dump any remaining objects */
#endif
return 0; return 0;
} }
...@@ -794,6 +794,7 @@ static void close_socket_timeout( void *arg ) ...@@ -794,6 +794,7 @@ static void close_socket_timeout( void *arg )
close_global_handles(); close_global_handles();
close_registry(); close_registry();
close_atom_table(); close_atom_table();
dump_objects(); /* dump any remaining objects */
#else #else
exit(0); exit(0);
#endif #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