Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

Commit

Permalink
Bug 1367075 - AudioChannelService doesn't need to be unregistered as …
Browse files Browse the repository at this point in the history
…observer for ipc:content-shutdown, r=alwu
  • Loading branch information
bakulf committed May 24, 2017
1 parent eef05fe commit 85c1a6e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions dom/audiochannel/AudioChannelService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -285,10 +285,6 @@ AudioChannelService::Shutdown()
if (obs) {
obs->RemoveObserver(gAudioChannelService, "xpcom-shutdown");
obs->RemoveObserver(gAudioChannelService, "outer-window-destroyed");

if (IsParentProcess()) {
obs->RemoveObserver(gAudioChannelService, "ipc:content-shutdown");
}
}

gAudioChannelService->mWindows.Clear();
Expand Down

0 comments on commit 85c1a6e

Please sign in to comment.