diff --git a/src/vector/platform/ElectronPlatform.js b/src/vector/platform/ElectronPlatform.js index f811192e2d..e8211fdc66 100644 --- a/src/vector/platform/ElectronPlatform.js +++ b/src/vector/platform/ElectronPlatform.js @@ -169,6 +169,11 @@ export default class ElectronPlatform extends VectorBasePlatform { } clearNotification(notif: Notification) { + // This crashes on windows under certain circumstances: can't find any + // workaround othet than not closing notifs. + // https://github.com/electron/electron/issues/15251 + // https://github.com/vector-im/riot-web/issues/7512 + if (window.process.platform === 'win32') return; notif.close(); }