Fix segfault when leaving loading server list page

This commit is contained in:
miruka 2020-08-21 05:18:08 -04:00
parent 6ba6202771
commit bd01d9edd0
2 changed files with 6 additions and 1 deletions

View File

@ -1,8 +1,10 @@
# TODO # TODO
- keep scrollbars auto behavior?
- improve auto completion delegate
- refresh server list button - refresh server list button
- server list sorting method / explain what the % number is (stability) - server list sorting method / explain what the % number is (stability)
- spam alt+shift+a/going to room when starting app on server browser → segfault
- login with account already added → infinite spinner in room list - login with account already added → infinite spinner in room list
- global presence control - global presence control

View File

@ -173,6 +173,9 @@ HBox {
onAccepted: window.saveState(this) onAccepted: window.saveState(this)
Component.onDestruction:
if (fetchServersFuture) fetchServersFuture.cancel()
Timer { Timer {
id: connectTimeout id: connectTimeout
interval: 30 * 1000 interval: 30 * 1000