Title: [153599] trunk/Source/WebCore
Revision
153599
Author
[email protected]
Date
2013-08-01 13:10:52 -0700 (Thu, 01 Aug 2013)

Log Message

Crash in WebCore:  WebCore::AudioSession::beganAudioInterruption + 62
https://bugs.webkit.org/show_bug.cgi?id=119406

Reviewed by Eric Carlson.

Unregister for AudioSession interruption events when being destroyed.

* platform/audio/ios/AudioDestinationIOS.cpp:
(WebCore::AudioDestinationIOS::~AudioDestinationIOS):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (153598 => 153599)


--- trunk/Source/WebCore/ChangeLog	2013-08-01 20:04:06 UTC (rev 153598)
+++ trunk/Source/WebCore/ChangeLog	2013-08-01 20:10:52 UTC (rev 153599)
@@ -1,3 +1,15 @@
+2013-08-01  Jer Noble  <[email protected]>
+
+        Crash in WebCore:  WebCore::AudioSession::beganAudioInterruption + 62
+        https://bugs.webkit.org/show_bug.cgi?id=119406
+
+        Reviewed by Eric Carlson.
+
+        Unregister for AudioSession interruption events when being destroyed.
+
+        * platform/audio/ios/AudioDestinationIOS.cpp:
+        (WebCore::AudioDestinationIOS::~AudioDestinationIOS):
+
 2013-08-01  Andreas Kling  <[email protected]>
 
         Layout should force a StyleResolver rebuild if there isn't one at all.

Modified: trunk/Source/WebCore/platform/audio/ios/AudioDestinationIOS.cpp (153598 => 153599)


--- trunk/Source/WebCore/platform/audio/ios/AudioDestinationIOS.cpp	2013-08-01 20:04:06 UTC (rev 153598)
+++ trunk/Source/WebCore/platform/audio/ios/AudioDestinationIOS.cpp	2013-08-01 20:10:52 UTC (rev 153599)
@@ -150,6 +150,7 @@
 
 AudioDestinationIOS::~AudioDestinationIOS()
 {
+    AudioSession::sharedSession().removeListener(this);
     audioDestinations().remove(this);
     if (!audioDestinations().size())
         AudioSession::sharedSession().setActive(0);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to