knossos-project / knossos

KNOSSOS is a software tool for the visualization and annotation of 3D image data and was developed for the rapid reconstruction of neural morphology and connectivity.
https://knossos.app
GNU General Public License v2.0
72 stars 18 forks source link

multiple »viewer returned« #499

Open Optiligence opened 2 years ago

Optiligence commented 2 years ago

is because

QMetaObject::invokeMethod(this, &Viewer::run);

stacks up in the event queue.

In general that’s bad but thanks to state::quitSignal nothing much happens. At least state is guaranteed to be alive until after the event loop ends.