Make MediaElementEventQueue and EventQueueImpl inherit ContextLifecycleObserver
When the ExecutionContext is destroyed in an event queue, the event queue should no longer be available. Then it must delete all the queued events and close itself. Design Doc: https://docs.google.com/document/d/1BBtBPTarOF4NeVKSWZe3XaDHo4yTGhdlqYm35yVzPs4/edit# Bug: 846618 Change-Id: I2de831956238bc2e783e9c8c2eadc56f75f3faaf Reviewed-on: https://chromium-review.googlesource.com/1088341Reviewed-by:Kentaro Hara <haraken@chromium.org> Commit-Queue: Hajime Hoshi <hajimehoshi@chromium.org> Cr-Commit-Position: refs/heads/master@{#564810}
Showing
Please register or sign in to comment