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

Custom module: Allow signal without interrupt #2588

Conversation

taminob
Copy link
Contributor

@taminob taminob commented Oct 20, 2023

This PR fixes an issue which prevented signal from working without an interval.

For some reason, it was not allowed to interrupt the sleep() of a SleeperThread.
This change keeps the function consistent with sleep_until() and sleep_for() which both can be interrupted.

Resolves #2587

Edit: exec-on-event is probably also affected

This keeps the function consistent with sleep_until() and sleep_for()
which both can be interrupted.
This is relevant to allow an update via a "signal" without an "interval"
in a custom module.
@Alexays Alexays merged commit 06f4028 into Alexays:master Oct 21, 2023
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.

Custom module: Signal does only work in combination with interval
2 participants