mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-12 06:52:25 +00:00
Bug 1367075 - AudioChannelService doesn't need to be unregistered as observer for ipc:content-shutdown, r=alwu
This commit is contained in:
parent
bf4efb28a8
commit
c6a0819b83
@ -285,10 +285,6 @@ AudioChannelService::Shutdown()
|
|||||||
if (obs) {
|
if (obs) {
|
||||||
obs->RemoveObserver(gAudioChannelService, "xpcom-shutdown");
|
obs->RemoveObserver(gAudioChannelService, "xpcom-shutdown");
|
||||||
obs->RemoveObserver(gAudioChannelService, "outer-window-destroyed");
|
obs->RemoveObserver(gAudioChannelService, "outer-window-destroyed");
|
||||||
|
|
||||||
if (IsParentProcess()) {
|
|
||||||
obs->RemoveObserver(gAudioChannelService, "ipc:content-shutdown");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
gAudioChannelService->mWindows.Clear();
|
gAudioChannelService->mWindows.Clear();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user