Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Fang-
Copy link
Collaborator

@Fang- Fang- commented Dec 15, 2020

This fixes an issue where ctrl-d-ing to unlink the current app would crash.

The added logic also happens in +se-drop, which will get called by
+se-abet if we did unlink an application. But +se-agon depends on the
index being sane, and may be called between +se-klin and +se-abet.

The added logic also happens in +se-drop, which will get called by
+se-abet if we did unlink an application. But +se-agon depends on the
index being sane, and may be called between +se-klin and +se-abet.
@Fang- Fang- added the hood label Dec 15, 2020
@Fang- Fang- requested a review from joemfb December 15, 2020 15:48
This lets applications suggest to the client that they should gracefully
unsubscribe from the session.

Arguably this might be accomplished by %kick-ing the client and then
crashing on their subsequent resubscribe, but this requires tracking
their sole session id and has less semantic clarity on what's happening.
Copy link
Collaborator

@joemfb joemfb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This part of drum is frustratingly fiddly ...

LGTM

sole: add %bye effect for closing the session
@Fang- Fang- merged commit be60e3b into release/next-userspace Dec 15, 2020
@Fang- Fang- deleted the m/drum-unlink branch December 15, 2020 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants