Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow nested pause blocks without resuming inner blocks #47

Merged
merged 1 commit into from
Jul 14, 2022

Conversation

geshwho
Copy link
Contributor

@geshwho geshwho commented Jul 13, 2022

Addresses part of #43.

Instead of always setting tc[:prosopite_scan] to true at the end of a pause block, we can remember the previous value from before the pause block and set it to that. This allows nesting of pauses, however deep, without resuming the scan until the outermost pause has reached the end of the block.

@charkost charkost merged commit 5d1fbc1 into charkost:main Jul 14, 2022
@charkost
Copy link
Owner

Thanks @geshwho !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants