mirror of
https://github.com/streamwall/streamwall.git
synced 2025-12-05 17:35:36 -05:00
Explicitly close webContents on removal
This commit is contained in:
@@ -279,6 +279,7 @@ export default class StreamWindow extends EventEmitter<StreamWindowEventMap> {
|
||||
for (const view of unusedViews) {
|
||||
const contentView = view.getSnapshot().context.view
|
||||
win.contentView.removeChildView(contentView)
|
||||
contentView.webContents.close()
|
||||
}
|
||||
this.views = newViews
|
||||
this.emitState()
|
||||
|
||||
Reference in New Issue
Block a user