Overall, the multithreaded aspects of RemoteInspectorXPCConnection are too complicated. This should be simplified in someway. For now, address a couple possible issues: - multithreaded access to m_client (close(), and XPC event handler) - deref too early in close(), if close() is called, we will receive another XPC event (XPC_ERROR) - so deref after we receive the XPC_ERROR event
<rdar://problem/16216505>
Created attachment 225713 [details] [PATCH] Proposed Fix
Comment on attachment 225713 [details] [PATCH] Proposed Fix Clearing flags on attachment: 225713 Committed r165040: <http://trac.webkit.org/changeset/165040>
All reviewed patches have been landed. Closing bug.