Closed
Bug 696362
Opened 12 years ago
Closed 12 years ago
OpenDatabaseHelper's dtor can release objects on the wrong thread.
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla10
People
(Reporter: khuey, Assigned: khuey)
References
Details
Attachments
(1 file, 1 obsolete file)
7.30 KB,
patch
|
bent.mozilla
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Attachment #568639 -
Flags: review?(bent.mozilla)
Assignee | ||
Comment 2•12 years ago
|
||
Something more like this, perhaps?
Assignee: nobody → khuey
Attachment #568639 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #568639 -
Flags: review?(bent.mozilla)
Attachment #568741 -
Flags: review?(bent.mozilla)
Comment on attachment 568741 [details] [diff] [review] Patch Review of attachment 568741 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/indexedDB/AsyncConnectionHelper.h @@ +74,5 @@ > HelperBase(IDBRequest* aRequest) > : mRequest(aRequest) > { } > > + ~HelperBase(); Definitely make this virtual. @@ +197,5 @@ > * Gives the subclass a chance to release any objects that must be released > * on the main thread, regardless of success or failure. Subclasses that > * implement this method *MUST* call the base class implementation as well. > */ > + void ReleaseMainThreadObjects(); Why this change? Leave it virtual (aids understanding).
Attachment #568741 -
Flags: review?(bent.mozilla) → review+
Assignee | ||
Comment 4•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/475896b92d6c
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla10
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•