Changeset 63916 in webkit


Ignore:
Timestamp:
Jul 22, 2010 2:58:17 PM (14 years ago)
Author:
andersca@apple.com
Message:

Don't assert when Connection::invalidate is called before Connection::dispatchConnectionDidClose
https://bugs.webkit.org/show_bug.cgi?id=42851

Reviewed by Sam Weinig.

  • Platform/CoreIPC/Connection.cpp:

(CoreIPC::Connection::dispatchConnectionDidClose):
Just return early if m_client is 0.

Location:
trunk/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit2/ChangeLog

    r63913 r63916  
     12010-07-22  Anders Carlsson  <andersca@apple.com>
     2
     3        Reviewed by Sam Weinig.
     4
     5        Don't assert when Connection::invalidate is called before Connection::dispatchConnectionDidClose
     6        https://bugs.webkit.org/show_bug.cgi?id=42851
     7
     8        * Platform/CoreIPC/Connection.cpp:
     9        (CoreIPC::Connection::dispatchConnectionDidClose):
     10        Just return early if m_client is 0.
     11
    1122010-07-22  Adam Roben  <aroben@apple.com>
    213
  • trunk/WebKit2/Platform/CoreIPC/Connection.cpp

    r63148 r63916  
    197197void Connection::dispatchConnectionDidClose()
    198198{
     199    // If the connection has been explicitly invalidated before dispatchConnectionDidClose was called,
     200    // then the client will be null here.
     201    if (!m_client)
     202        return;
     203
    199204    m_client->didClose(this);
    200205   
Note: See TracChangeset for help on using the changeset viewer.