Last Comment Bug 743786 - Assert if ClearOnShutdown is called off the main thread
: Assert if ClearOnShutdown is called off the main thread
Status: RESOLVED FIXED
:
Product: Core
Classification: Components
Component: General (show other bugs)
: unspecified
: All All
: -- normal (vote)
: mozilla14
Assigned To: Justin Lebar (not reading bugmail)
:
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-09 13:15 PDT by Justin Lebar (not reading bugmail)
Modified: 2012-04-11 09:17 PDT (History)
3 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
Patch v1 (2.26 KB, patch)
2012-04-09 13:19 PDT, Justin Lebar (not reading bugmail)
benjamin: review+
Details | Diff | Review

Description Justin Lebar (not reading bugmail) 2012-04-09 13:15:05 PDT
ClearOnShutdown is definitely not thread-safe.  We should assert.

Patch in a moment.
Comment 1 Justin Lebar (not reading bugmail) 2012-04-09 13:19:13 PDT
Created attachment 613371 [details] [diff] [review]
Patch v1
Comment 2 Matt Brubeck (:mbrubeck) 2012-04-11 09:17:21 PDT
https://hg.mozilla.org/mozilla-central/rev/0fd099d86cc1

Note You need to log in before you can comment on or make changes to this bug.