From 55656e22b924ffb431eeb0e6baa74069a8159baf Mon Sep 17 00:00:00 2001 From: bd Date: Mon, 21 Apr 2025 19:04:05 -0400 Subject: Properly clear storage objects in worker.cc when re-initializing --- gui/worker.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gui') 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 -- cgit v1.2.3