mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-15 15:58:41 -04:00
ignores pause events during model stabelizing phase
This commit is contained in:
parent
fc42671e3f
commit
27282a3b54
@ -573,7 +573,7 @@ public class Model implements Iterable<Node>, SyncAccess {
|
||||
* Break is detected in running model
|
||||
*/
|
||||
public synchronized void breakDetected() {
|
||||
if (!paused)
|
||||
if (!paused && state != State.INITIALIZING)
|
||||
pause();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user