ignores pause events during model stabelizing phase

This commit is contained in:
hneemann 2023-02-15 07:36:27 +01:00
parent fc42671e3f
commit 27282a3b54

View File

@ -573,7 +573,7 @@ public class Model implements Iterable<Node>, SyncAccess {
* Break is detected in running model * Break is detected in running model
*/ */
public synchronized void breakDetected() { public synchronized void breakDetected() {
if (!paused) if (!paused && state != State.INITIALIZING)
pause(); pause();
} }