Skip to content

Conversation

@duartenfonseca
Copy link
Collaborator

@duartenfonseca duartenfonseca commented Aug 19, 2025

If an app offers an event that is configured as cyclic, and after notifying,
it calls stop_offer_event, the event keeps running the notifying cycle,
which can be seen by adding a log to event::notify
This stops that cycle.

#694 was stale, and this changes were important, so this PR was created with
our proposal.
it fixes #666

@duartenfonseca duartenfonseca changed the title Revert "When testing a cycle event, calling application_impl::stop_of… When testing a cycle event, calling application_impl::stop_offer_event is invalid. Aug 19, 2025
@duartenfonseca duartenfonseca marked this pull request as ready for review August 19, 2025 14:43
…t is invalid.

If an app offers an event that is configured as cyclic, and after notifying,
it calls stop_offer_event, the event keeps running the notifying cycle,
which can be seen by adding a log to `event::notify`
This stops that cycle.

Signed-off-by: hjkcst <[email protected]>
@fcmonteiro fcmonteiro closed this Nov 19, 2025
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.

When testing a cycle event, calling application_impl::stop_offer_event is invalid.

4 participants