Changeset 219201 in webkit


Ignore:
Timestamp:
Jul 6, 2017, 9:49:16 AM (8 years ago)
Author:
ddkilzer@apple.com
Message:

Add release assert to explore crash for <rdar://problem/32908525>

Reviewed by Brady Eidson.

  • Modules/indexeddb/server/UniqueIDBDatabase.cpp:

(WebCore::IDBServer::UniqueIDBDatabase::~UniqueIDBDatabase): Add
release assert to catch cases when the IDBBackingStore is not
deleted before the UniqueIDBDatabase is destroyed. The
IDBBackingStore should always be released on the database
thread.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r219199 r219201  
     12017-07-06  David Kilzer  <ddkilzer@apple.com>
     2
     3        Add release assert to explore crash for <rdar://problem/32908525>
     4
     5        Reviewed by Brady Eidson.
     6
     7        * Modules/indexeddb/server/UniqueIDBDatabase.cpp:
     8        (WebCore::IDBServer::UniqueIDBDatabase::~UniqueIDBDatabase): Add
     9        release assert to catch cases when the IDBBackingStore is not
     10        deleted before the UniqueIDBDatabase is destroyed.  The
     11        IDBBackingStore should always be released on the database
     12        thread.
     13
    1142017-07-06  Matt Lewis  <jlewis3@apple.com>
    215
  • trunk/Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabase.cpp

    r218803 r219201  
    6767{
    6868    LOG(IndexedDB, "UniqueIDBDatabase::~UniqueIDBDatabase() (%p) %s", this, m_identifier.debugString().utf8().data());
     69    RELEASE_ASSERT(!m_backingStore);
    6970    ASSERT(isMainThread());
    7071    ASSERT(!hasAnyPendingCallbacks());
Note: See TracChangeset for help on using the changeset viewer.