Fehlerkorrekturen und Erweiterungen
This commit is contained in:
1 parent
19b5b255ef
commit
a16a8fcf28
18 files changed
+88
-239
No files matched your search
+16
-2
@@ -224,6 +224,16 @@ class _MainState extends State<Main> with SingleTickerProviderStateMixin, Produc
|
||||
void dispose() {
|
||||
_animationController?.dispose();
|
||||
|
||||
// Unsubscribe from all message topics
|
||||
unsubscribe(queueId: Constants.messageTopicPushContentView);
|
||||
unsubscribe(queueId: Constants.messageTopicPopContentView);
|
||||
unsubscribe(queueId: Constants.messageTopicReplaceContentView);
|
||||
unsubscribe(queueId: Constants.messageTopicConnectionStatusChanged);
|
||||
unsubscribe(queueId: Constants.messageTopicRemoveJob);
|
||||
unsubscribe(queueId: Constants.messageTopicJobReceived);
|
||||
unsubscribe(queueId: Constants.messageTopicJobDeleted);
|
||||
unsubscribe(queueId: Constants.messageTopicRemoveState0JobFromMap);
|
||||
|
||||
super.dispose();
|
||||
}
|
||||
|
||||
@@ -249,7 +259,9 @@ class _MainState extends State<Main> with SingleTickerProviderStateMixin, Produc
|
||||
|
||||
_initCompleted = true;
|
||||
|
||||
setState(() {});
|
||||
if (mounted) {
|
||||
setState(() {});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -451,7 +463,9 @@ class _MainState extends State<Main> with SingleTickerProviderStateMixin, Produc
|
||||
|
||||
_currentTitleWidget = await _currentContent.getHeaderWidget(context);
|
||||
|
||||
setState(() {});
|
||||
if (mounted) {
|
||||
setState(() {});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user