ASSERTION FAILED: !m_connections.contains(&connection) in WebCore::SWServer::unregist...
authorbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 22 Aug 2017 00:23:39 +0000 (00:23 +0000)
committerbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 22 Aug 2017 00:23:39 +0000 (00:23 +0000)
https://bugs.webkit.org/show_bug.cgi?id=175795

Rubber-stamped by Andy Estes.

* workers/service/server/SWServer.cpp:
(WebCore::SWServer::unregisterConnection): Flip the ASSERT to be... correct.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@220992 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/workers/service/server/SWServer.cpp

index 60340a2..0ac3b7d 100644 (file)
@@ -1,3 +1,13 @@
+2017-08-21  Brady Eidson  <beidson@apple.com>
+
+        ASSERTION FAILED: !m_connections.contains(&connection) in WebCore::SWServer::unregisterConnection(WebCore::SWServer::Connection&).
+        https://bugs.webkit.org/show_bug.cgi?id=175795
+
+        Rubber-stamped by Andy Estes.
+
+        * workers/service/server/SWServer.cpp:
+        (WebCore::SWServer::unregisterConnection): Flip the ASSERT to be... correct.
+
 2017-08-21  Daniel Bates  <dabates@apple.com>
 
         Cleanup TextPainter
index cf121cd..2f1a392 100644 (file)
@@ -73,7 +73,7 @@ void SWServer::registerConnection(Connection& connection)
 
 void SWServer::unregisterConnection(Connection& connection)
 {
-    ASSERT(!m_connections.contains(&connection));
+    ASSERT(m_connections.contains(&connection));
     m_connections.remove(&connection);
 }