Index: Source/modules/indexeddb/IDBRequest.cpp |
diff --git a/Source/modules/indexeddb/IDBRequest.cpp b/Source/modules/indexeddb/IDBRequest.cpp |
index 8bab481acd04588ae746702afc9acc8d6e0995c7..2acc3a17e19a384efdd5d708a67a395947b188d4 100644 |
--- a/Source/modules/indexeddb/IDBRequest.cpp |
+++ b/Source/modules/indexeddb/IDBRequest.cpp |
@@ -386,6 +386,12 @@ void IDBRequest::stop() |
} |
m_enqueuedEvents.clear(); |
+ if (m_source) |
+ m_source->contextWillBeDestroyed(); |
+ if (m_result) |
+ m_result->contextWillBeDestroyed(); |
+ if (m_pendingCursor) |
+ m_pendingCursor->contextWillBeDestroyed(); |
} |
const AtomicString& IDBRequest::interfaceName() const |