Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2052)

Unified Diff: Source/modules/webdatabase/DatabaseContext.cpp

Issue 589363002: Oilpan: DatabaseThread::m_thread should not get destructed during sweeping (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/modules/webdatabase/DatabaseThread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webdatabase/DatabaseContext.cpp
diff --git a/Source/modules/webdatabase/DatabaseContext.cpp b/Source/modules/webdatabase/DatabaseContext.cpp
index 456087abd8cf1966d3cf3df6aa1164b1affae824..ba458daf6b9259a0ec5ae11d9059b469ce3144cf 100644
--- a/Source/modules/webdatabase/DatabaseContext.cpp
+++ b/Source/modules/webdatabase/DatabaseContext.cpp
@@ -182,6 +182,7 @@ void DatabaseContext::stopDatabases()
m_databaseThread->requestTermination(&sync);
m_hasRequestedTermination = true;
sync.waitForTaskCompletion();
+ m_databaseThread->dispose();
wibling-chromium 2014/09/23 08:40:59 It would be nice with a comment explaining why it
zerny-chromium 2014/09/23 08:46:29 Alternatively we could encapsulate this in the dat
}
}
« no previous file with comments | « no previous file | Source/modules/webdatabase/DatabaseThread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698