mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-16 08:25:09 -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
|
* Break is detected in running model
|
||||||
*/
|
*/
|
||||||
public synchronized void breakDetected() {
|
public synchronized void breakDetected() {
|
||||||
if (!paused)
|
if (!paused && state != State.INITIALIZING)
|
||||||
pause();
|
pause();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user