Chromium Code Reviews| Index: tools/memory_watcher/dllmain.cc |
| =================================================================== |
| --- tools/memory_watcher/dllmain.cc (revision 31097) |
| +++ tools/memory_watcher/dllmain.cc (working copy) |
| @@ -60,9 +60,8 @@ |
| case WAIT_OBJECT_0: |
| if (g_memory_watcher) { |
| g_memory_watcher->DumpLeaks(); |
| - // After dumping, we teardown. |
| - ExitProcess(0); |
| } |
| + stopping = true; |
| break; |
| case WAIT_OBJECT_0 + 1: |
| stopping = true; |