DescriptionRemoved unregisterTerminationObserver from DatabaseContext::contextDestroyed
Method DatabaseContext::contextDestroyed always calls from ExecutionContext destructor. In the case when the context is WorkerGlobalScope - from WorkerGlobalScope destructor. This unregister call does nothing in this situation.
And it looks dangerous when we try to use the methods of the object in destructor. E.g. if we make the method ExecutionContext::isWorkerGlobalScope virtual the program will crash in DatabaseContext::contextDestroyed.
R=tkent@chromium.org,vsevik@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181711
Patch Set 1 #Patch Set 2 : #
Messages
Total messages: 6 (1 generated)
|