mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
fix: mark disposed dispatchers as such (#6051)
This commit is contained in:
parent
bd61f863c4
commit
e9f0f6c894
@ -91,6 +91,7 @@ export class Dispatcher<Type, Initializer> extends EventEmitter implements chann
|
||||
|
||||
_dispose() {
|
||||
assert(!this._disposed);
|
||||
this._disposed = true;
|
||||
|
||||
// Clean up from parent and connection.
|
||||
if (this._parent)
|
||||
|
Loading…
x
Reference in New Issue
Block a user