DescriptionLifecycleObserver::contextDestroyed should be explicitly dispatched promptly when a context is destroyed
Currently LifecycleObserver::contextDestroyed is dispatched within LifecycleContext's destructor. This is problematic in Oilpan because destructors are not allowed to touch other on-heap objects. We need to dispatch LifecycleObserver::contextDestroyed not when the context is destructed but promptly when the context is destroyed (e.g., Document::detach(), WorkerGlobalScope::dispose(), Page::willBeDestroyed()).
BUG=340522
Patch Set 1 #
Total comments: 4
Patch Set 2 : #
Messages
Total messages: 8 (1 generated)
|