DescriptionOilpan: Don't destruct HRTFDatabaseLoader::m_thread during a sweeping phase
It is not allowed to destruct HRTFDatabaseLoader::m_thread during a sweeping phase
because WebThreadSupportingGC's destructor enters a safe point scope.
This CL avoids the situation by explicitly joining with the loader thread in AudioContext::uninitialize().
In order to make sure that the loader thread finishes touching m_thread,
this CL posts a clean-up task and wait for its completion before calling
m_thread.clear().
BUG=432041
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185177
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #
Total comments: 2
Patch Set 4 : #Patch Set 5 : #Patch Set 6 : #
Messages
Total messages: 10 (4 generated)
|