diff options
author | bd <bdunahu@operationnull.com> | 2025-04-21 19:04:05 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-04-21 19:04:05 -0400 |
commit | 55656e22b924ffb431eeb0e6baa74069a8159baf (patch) | |
tree | b77e15235fc886886d98f0502759262b8bb1696f | |
parent | efc4ce2d15aeb54dccf9493c11de9bb8467033c1 (diff) |
Properly clear storage objects in worker.cc when re-initializing
-rw-r--r-- | gui/worker.cc | 2 |
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 |