[Webkit-unassigned] [Bug 25711] HTML5 Database becomes locked if a transaction is in progress when the page is refreshed.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 26 10:18:15 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=25711





------- Comment #29 from michaeln at google.com  2009-06-26 10:18 PDT -------
Is the Mutex really needed? Can it be replaced with ASSERT(isDatabaseThread())?
I think the db should always be opened/close on the db thread, that looks like
the intent of things, why not assert it.

The code right now looks like it depends on being able to reenter the mutex
since the loop at thread end locks it and the db.close method will also grab
the lock. Is WTF::Mutex reentrant on all platforms?


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list