Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

Fix edge case where interface can get stuck unjoined #5

Merged
merged 1 commit into from Aug 23, 2019

Conversation

johnsca
Copy link
Contributor

@johnsca johnsca commented Aug 23, 2019

There is apparently an edge case where the changed and broken handlers can get queued in a hook and fire in that order leading to no subsequent changed handlers being queued and the flags all being left cleared (and thus leading to stuck charms on either end). It's safer overall to include joined in the handler conditions so that even if something strange happens, it will sort itself out into the stable state.

Fixes lp:1841259

There is apparently an edge case where the changed and broken handlers
can get queued in a hook and fire in that order leading to no subsequent
changed handlers being queued and the flags all being left cleared. It's
safer overall to include joined in the handler conditions so that even
if something strange happens, it will sort itself out into the stable
state.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants