diff options
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/ipc_channel_proxy.h | 2 | ||||
-rw-r--r-- | ipc/ipc_sync_channel.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ipc/ipc_channel_proxy.h b/ipc/ipc_channel_proxy.h index e884818..a2d55be 100644 --- a/ipc/ipc_channel_proxy.h +++ b/ipc/ipc_channel_proxy.h @@ -93,7 +93,7 @@ class ChannelProxy : public Message::Sender { Channel::Listener* listener, MessageFilter* filter, MessageLoop* ipc_thread_loop); - ~ChannelProxy() { + virtual ~ChannelProxy() { Close(); } diff --git a/ipc/ipc_sync_channel.h b/ipc/ipc_sync_channel.h index f5d2add..bfc9eac 100644 --- a/ipc/ipc_sync_channel.h +++ b/ipc/ipc_sync_channel.h @@ -36,7 +36,7 @@ class SyncChannel : public ChannelProxy, Channel::Listener* listener, MessageFilter* filter, MessageLoop* ipc_message_loop, bool create_pipe_now, base::WaitableEvent* shutdown_event); - ~SyncChannel(); + virtual ~SyncChannel(); virtual bool Send(Message* message); virtual bool SendWithTimeout(Message* message, int timeout_ms); |