ASSERTION FAILURE: ASSERT_NOT_REACHED() in Connection::writeEventHandler() after...
[WebKit-https.git] / Source / WebKit2 / Platform / CoreIPC / win / ConnectionWin.cpp
index 9d2232c..ab44658 100644 (file)
@@ -242,6 +242,10 @@ void Connection::writeEventHandler()
             // FIXME: We should figure out why we're getting this error.
             return;
         }
+        if (error == ERROR_BROKEN_PIPE) {
+            connectionDidClose();
+            return;
+        }
         ASSERT_NOT_REACHED();
     }