Skip to content
Discussion options

You must be logged in to vote

Disconnect does not have an event per say. I detect when it occurs by seeing that the client is no longer in the client list.

https://github.com/artemis-sbs/sbs_utils/blob/master/sbs_utils/gui.py#L331

This fires what I call a "FakeEvent" which is used more internally. The Story Page then emits a signal "client_disconnect"

https://github.com/artemis-sbs/sbs_utils/blob/master/sbs_utils/mast_sbs/maststorypage.py#L725

//signal/client_disconnect
//shared/signal/client_disconnect
on signal client_disconnect

Should hangar use that? Maybe. The signal may not have existed.

Replies: 1 comment 10 replies

Comment options

You must be logged in to vote
10 replies
@dougreichard
Comment options

@dougreichard
Comment options

@quaris628
Comment options

@dougreichard
Comment options

@dougreichard
Comment options

Answer selected by quaris628
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants