chore(domworld): clear set (#6847)
This commit is contained in:
parent
de904db51d
commit
25abae6e79
@ -115,7 +115,7 @@ export class DOMWorld {
|
|||||||
|
|
||||||
async _setContext(context?: ExecutionContext): Promise<void> {
|
async _setContext(context?: ExecutionContext): Promise<void> {
|
||||||
if (context) {
|
if (context) {
|
||||||
this._ctxBindings = new Set();
|
this._ctxBindings.clear();
|
||||||
this._contextResolveCallback.call(null, context);
|
this._contextResolveCallback.call(null, context);
|
||||||
this._contextResolveCallback = null;
|
this._contextResolveCallback = null;
|
||||||
for (const waitTask of this._waitTasks) waitTask.rerun();
|
for (const waitTask of this._waitTasks) waitTask.rerun();
|
||||||
|
Loading…
Reference in New Issue
Block a user