Skip to content

Improve pausing #146

@mcamp

Description

@mcamp

when pausing the interpreter does not execute the stepRun, but the process is still running behind:

LRPInterpreter>>mainLoop
[withLoop] whileTrue:[
pause ifFalse: [self stepRun].
self rate = 0 ifFalse:[(Delay forSeconds: 1/(self rate) asFloat)wait].
]

It will be better if the process pauses too, Im not sure, but this should free some resources when the program is paused

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions