Chromium Code Reviews| Index: chrome/common/child_process_host.cc |
| =================================================================== |
| --- chrome/common/child_process_host.cc (revision 11070) |
| +++ chrome/common/child_process_host.cc (working copy) |
| @@ -55,6 +55,10 @@ |
| if (handle()) { |
| watcher_.StopWatching(); |
| ProcessWatcher::EnsureProcessTerminated(handle()); |
| + |
| + // Above call took ownership, so don't want WaitableEvent to assert because |
| + // the handle isn't valid anymore. |
| + process_event_->Release(); |
| } |
| } |