diff options
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/ipc_sync_channel.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/ipc_sync_channel.cc b/ipc/ipc_sync_channel.cc index c5ec446..784b835 100644 --- a/ipc/ipc_sync_channel.cc +++ b/ipc/ipc_sync_channel.cc @@ -468,7 +468,7 @@ void SyncChannel::WaitForReplyWithNestedMessageLoop() { MessageLoop::current()->SetNestableTasksAllowed(old_state); sync_msg_queue->set_top_send_done_watcher(old_send_done_event_watcher); - if (old_send_done_event_watcher) { + if (old_send_done_event_watcher && old_event) { old_send_done_event_watcher->StartWatching(old_event, old_delegate); } } |