Destroy TabSession when the related tab is closed
Categories
(Remote Protocol :: CDP, task, P3)
Tracking
(Not tracked)
People
(Reporter: jdescottes, Unassigned)
References
Details
We don't automatically destroy the TabSession when the corresponding tab is closed.
A TabSession is created for a TabTarget, which is associated with a specific browser/tab. When the tab closes the TabTarget is automatically closed, but the TabSession is not. Keeping the TabSession alive leads to errors during the shutdown sequence of CDP, see 1747041.
Reporter | ||
Updated•3 years ago
|
Reporter | ||
Updated•3 years ago
|
Reporter | ||
Updated•3 years ago
|
Comment 1•2 years ago
|
||
The problem right now is that the TabSession is destroyed very late when the connection to it gets closed. By that time the TabTarget is already gone for a while. Maybe the destructor of the TabTarget has to request closing the session and then await it's disposal. In such a case there will always be a message manager available.
Comment 2•4 months ago
|
||
CDP is deprecated and we no longer actively work on this protocol. As such lets close out this bug.
Description
•