react-electron-browser-view
react-electron-browser-view copied to clipboard
view.isDestroyed is not a function
// Connect our event listeners to update the browser view events.forEach((event) => { if (!this.view.isDestroyed()) { this.view.webContents.on(event, (...eventArgs) => { const propName = camelCase(
on-${event}`)
// Proxy events to listeners we got as props
if (this.props[propName]) this.props[propName](...eventArgs)
})
}
})`
should this.view.isDestroyed() be this.view.webContents.isDestroyed() ?