Chromium Code Reviews
DescriptionDon't call RemoveDestructionObserver on non-IO thread.
RemoveDestructionObserver is expected to be called on the IO thread.
Instead, just checking io_loop_ is NULL in destructor.
IO thread should be deleted and call WillDestroyCurrentMessageLoop() before deleting singletons in AtExitManager.
BUG=28526, 28769
TEST=none
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=34655
Patch Set 1 #Patch Set 2 : fix compile errors #Patch Set 3 : fix Init() #Patch Set 4 : rebase #Patch Set 5 : lock assertRequired #
Total comments: 3
Patch Set 6 : use Singleton instead of having global lock #
Total comments: 12
Patch Set 7 : Fix locks #
Total comments: 8
Patch Set 8 : fix maruel and wtc comments #Messages
Total messages: 11 (0 generated)
|