| Index: Source/modules/webdatabase/DatabaseContext.cpp
|
| diff --git a/Source/modules/webdatabase/DatabaseContext.cpp b/Source/modules/webdatabase/DatabaseContext.cpp
|
| index 60359af8e68d51408463bc5ea964f22392ef92dc..250260a7f22f0a20bccbe0dd5648435ca133c377 100644
|
| --- a/Source/modules/webdatabase/DatabaseContext.cpp
|
| +++ b/Source/modules/webdatabase/DatabaseContext.cpp
|
| @@ -131,6 +131,11 @@ void DatabaseContext::contextDestroyed()
|
| deref(); // paired with the ref() call on create().
|
| }
|
|
|
| +void DatabaseContext::willStop()
|
| +{
|
| + DatabaseManager::manager().interruptAllDatabasesForContext(this);
|
| +}
|
| +
|
| // stop() is from stopActiveDOMObjects() which indicates that the owner LocalFrame
|
| // or WorkerThread is shutting down. Initiate the orderly shutdown by stopping
|
| // the associated databases.
|
|
|