element-desktop/src
Damir Jelić 1e05af203c electron-main: Immediatelly set the eventIndex variable to null when closing.
The react-sdk doesn't await the closing of the event index, this is done
so because of limitations in the lifecycle module. This wasn't a problem
since we used to just set the eventIndex variable to null. Nowadays we
wait for Tantivy to shutdown using a close() method on the index.

To avoid this being called multiple times while we're already closing the
index set the eventIndex variable to null before awaiting.

This fixes https://github.com/vector-im/riot-web/issues/12838.
2020-03-24 14:21:04 +01:00
..
electron-main.js electron-main: Immediatelly set the eventIndex variable to null when closing. 2020-03-24 14:21:04 +01:00
preload.js Initial copy of files from the riot-web repo 2019-12-06 18:17:34 +00:00
protocol.js only register open-url handler on macos 2020-03-02 16:49:55 +00:00
squirrelhooks.js Initial copy of files from the riot-web repo 2019-12-06 18:17:34 +00:00
tray.js Initial copy of files from the riot-web repo 2019-12-06 18:17:34 +00:00
updater.js Fix the linting errors 2019-12-10 18:10:15 +00:00
vectormenu.js Register Mac electron specific Cmd+, shortcut to User Settings 2020-03-19 23:42:09 +00:00
webcontents-handler.js riot-desktop open SSO in browser so user doesn't have to auth twice 2020-03-02 15:04:51 +00:00