summaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-04-21 19:04:05 -0400
committerbd <bdunahu@operationnull.com>2025-04-21 19:04:05 -0400
commit55656e22b924ffb431eeb0e6baa74069a8159baf (patch)
treeb77e15235fc886886d98f0502759262b8bb1696f /gui
parentefc4ce2d15aeb54dccf9493c11de9bb8467033c1 (diff)
Properly clear storage objects in worker.cc when re-initializing
Diffstat (limited to 'gui')
-rw-r--r--gui/worker.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/worker.cc b/gui/worker.cc
index 2f10c7c..2652fce 100644
--- a/gui/worker.cc
+++ b/gui/worker.cc
@@ -38,6 +38,8 @@ void Worker::configure(
Stage *old;
int i;
+ this->s.clear();
+
this->ct_mutex.lock();
if (ways.size() != 0) {
// TODO optimal proper sizes