build: update some build dependencies (#44069)
* build: update some build dependencies (#43882) * build: update some build dependencies * build: fix eslint issues after updating * build: disable ts check on busted js example * build: update internal types for stricter event handling * restore url.parse behavior * fix typing issues * sigh * build: update easy deps * build: skip woa engines check * build: s/colors/chalk
This commit is contained in:
parent
ac10ddaa48
commit
8af5c6d130
49 changed files with 2311 additions and 1338 deletions
|
@ -237,7 +237,7 @@ const watchEmbedder = function (embedder: Electron.WebContents) {
|
|||
}
|
||||
}
|
||||
};
|
||||
embedder.on('-window-visibility-change' as any, onVisibilityChange);
|
||||
embedder.on('-window-visibility-change', onVisibilityChange);
|
||||
|
||||
embedder.once('will-destroy' as any, () => {
|
||||
// Usually the guestInstances is cleared when guest is destroyed, but it
|
||||
|
@ -249,7 +249,7 @@ const watchEmbedder = function (embedder: Electron.WebContents) {
|
|||
}
|
||||
}
|
||||
// Clear the listeners.
|
||||
embedder.removeListener('-window-visibility-change' as any, onVisibilityChange);
|
||||
embedder.removeListener('-window-visibility-change', onVisibilityChange);
|
||||
watchedEmbedders.delete(embedder);
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue