Fehlerkorrekturen und Erweiterungen

This commit is contained in:
Sven committed 2025-09-02 11:12:02 +02:00
1 parent 19b5b255ef
commit a16a8fcf28
18 files changed
+88 -239

No files matched your search

+11 -1
View File
@@ -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(() {});
}
}
},