Fehlerkorrekturen und Erweiterungen
This commit is contained in:
1 parent
19b5b255ef
commit
a16a8fcf28
18 files changed
+88
-239
No files matched your search
@@ -54,6 +54,14 @@ class _AssignedJobsPageState extends State<AssignedJobsPage> with ProducerMixin,
|
||||
super.initState();
|
||||
}
|
||||
|
||||
@override
|
||||
void dispose() {
|
||||
// Unsubscribe from all message topics
|
||||
unsubscribe(queueId: Constants.messageTopicJobReceived);
|
||||
|
||||
super.dispose();
|
||||
}
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
if (!_initCompleted) {
|
||||
@@ -254,7 +262,9 @@ class _AssignedJobsPageState extends State<AssignedJobsPage> with ProducerMixin,
|
||||
if (job.state == Constants.stateAssigned) {
|
||||
_jobs.add(job);
|
||||
|
||||
setState(() {});
|
||||
if (mounted) {
|
||||
setState(() {});
|
||||
}
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user