Title: [186904] trunk/Source/WebKit2
Revision
186904
Author
[email protected]
Date
2015-07-16 13:06:43 -0700 (Thu, 16 Jul 2015)

Log Message

REGRESSION(r186464): [SOUP] ASSERTION FAILED: !m_messageReceiverMapCount when closing any tab
https://bugs.webkit.org/show_bug.cgi?id=147006

Reviewed by Anders Carlsson.

Remove the message receiver before it is deallocated.

* UIProcess/Network/CustomProtocols/soup/CustomProtocolManagerProxySoup.cpp:
(WebKit::CustomProtocolManagerProxy::~CustomProtocolManagerProxy):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (186903 => 186904)


--- trunk/Source/WebKit2/ChangeLog	2015-07-16 19:30:46 UTC (rev 186903)
+++ trunk/Source/WebKit2/ChangeLog	2015-07-16 20:06:43 UTC (rev 186904)
@@ -1,3 +1,15 @@
+2015-07-16  Michael Catanzaro  <[email protected]>
+
+        REGRESSION(r186464): [SOUP] ASSERTION FAILED: !m_messageReceiverMapCount when closing any tab
+        https://bugs.webkit.org/show_bug.cgi?id=147006
+
+        Reviewed by Anders Carlsson.
+
+        Remove the message receiver before it is deallocated.
+
+        * UIProcess/Network/CustomProtocols/soup/CustomProtocolManagerProxySoup.cpp:
+        (WebKit::CustomProtocolManagerProxy::~CustomProtocolManagerProxy):
+
 2015-07-16  Brady Eidson  <[email protected]>
 
         Review feedback followup for:

Modified: trunk/Source/WebKit2/UIProcess/Network/CustomProtocols/soup/CustomProtocolManagerProxySoup.cpp (186903 => 186904)


--- trunk/Source/WebKit2/UIProcess/Network/CustomProtocols/soup/CustomProtocolManagerProxySoup.cpp	2015-07-16 19:30:46 UTC (rev 186903)
+++ trunk/Source/WebKit2/UIProcess/Network/CustomProtocols/soup/CustomProtocolManagerProxySoup.cpp	2015-07-16 20:06:43 UTC (rev 186904)
@@ -39,6 +39,7 @@
 
 CustomProtocolManagerProxy::~CustomProtocolManagerProxy()
 {
+    m_childProcessProxy->removeMessageReceiver(Messages::CustomProtocolManagerProxy::messageReceiverName());
 }
 
 void CustomProtocolManagerProxy::startLoading(uint64_t customProtocolID, const WebCore::ResourceRequest& request)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to