Title: [195525] trunk/Source/WebCore
Revision
195525
Author
[email protected]
Date
2016-01-24 23:04:12 -0800 (Sun, 24 Jan 2016)

Log Message

Unreviewed, speculative fix for:
Modern IDB: Some IDB tests crash in ~SQLiteIDBBackingStore
https://bugs.webkit.org/show_bug.cgi?id=153418

No new tests.

* Modules/indexeddb/server/SQLiteIDBBackingStore.cpp:
(WebCore::IDBServer::SQLiteIDBBackingStore::~SQLiteIDBBackingStore): Clear the global object
  before wiping out the VM.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (195524 => 195525)


--- trunk/Source/WebCore/ChangeLog	2016-01-25 06:13:09 UTC (rev 195524)
+++ trunk/Source/WebCore/ChangeLog	2016-01-25 07:04:12 UTC (rev 195525)
@@ -1,3 +1,15 @@
+2016-01-24  Brady Eidson  <[email protected]>
+
+        Unreviewed, speculative fix for:
+        Modern IDB: Some IDB tests crash in ~SQLiteIDBBackingStore
+        https://bugs.webkit.org/show_bug.cgi?id=153418
+
+        No new tests.
+
+        * Modules/indexeddb/server/SQLiteIDBBackingStore.cpp:
+        (WebCore::IDBServer::SQLiteIDBBackingStore::~SQLiteIDBBackingStore): Clear the global object
+          before wiping out the VM.
+
 2016-01-24  Gyuyoung Kim  <[email protected]>
 
         Reduce PassRefPtr uses in dom - 4

Modified: trunk/Source/WebCore/Modules/indexeddb/server/SQLiteIDBBackingStore.cpp (195524 => 195525)


--- trunk/Source/WebCore/Modules/indexeddb/server/SQLiteIDBBackingStore.cpp	2016-01-25 06:13:09 UTC (rev 195524)
+++ trunk/Source/WebCore/Modules/indexeddb/server/SQLiteIDBBackingStore.cpp	2016-01-25 07:04:12 UTC (rev 195525)
@@ -121,6 +121,7 @@
 
     if (m_vm) {
         JSLockHolder locker(m_vm.get());
+        m_globalObject.clear();
         m_vm = nullptr;
     }
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to