diff options
-rw-r--r-- | chrome/renderer/tts_dispatcher.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/renderer/tts_dispatcher.cc b/chrome/renderer/tts_dispatcher.cc index 0ca8c87..899da6c 100644 --- a/chrome/renderer/tts_dispatcher.cc +++ b/chrome/renderer/tts_dispatcher.cc @@ -30,6 +30,7 @@ TtsDispatcher::TtsDispatcher(WebSpeechSynthesizerClient* client) } TtsDispatcher::~TtsDispatcher() { + RenderThread::Get()->RemoveObserver(this); } bool TtsDispatcher::OnControlMessageReceived(const IPC::Message& message) { |