diff --git a/dom/audiochannel/AudioChannelService.cpp b/dom/audiochannel/AudioChannelService.cpp index 2a7c365c249..b1d5932e61c 100644 --- a/dom/audiochannel/AudioChannelService.cpp +++ b/dom/audiochannel/AudioChannelService.cpp @@ -59,7 +59,6 @@ AudioChannelService::Shutdown() } if (gAudioChannelService) { - delete gAudioChannelService; gAudioChannelService = nullptr; } } diff --git a/dom/audiochannel/AudioChannelServiceChild.cpp b/dom/audiochannel/AudioChannelServiceChild.cpp index 7da37463c3c..836204ab66d 100644 --- a/dom/audiochannel/AudioChannelServiceChild.cpp +++ b/dom/audiochannel/AudioChannelServiceChild.cpp @@ -47,7 +47,6 @@ void AudioChannelServiceChild::Shutdown() { if (gAudioChannelServiceChild) { - delete gAudioChannelServiceChild; gAudioChannelServiceChild = nullptr; } }