mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-22 23:21:29 +00:00
[client] transport: stop after guest sessions end
Track unexpected loss of an admitted fallback independently from normal stop and UUID revocation. Terminate once both primary and fallback sessions have disappeared, regardless of notification order. Make shutdown terminal so concurrent disconnect handling cannot replace it with restart or running state.
This commit is contained in:
@@ -32,6 +32,8 @@ typedef struct LG_TransportFallbackEventOps
|
||||
{
|
||||
/* The session is valid only for the duration of this callback. */
|
||||
void (*connected)(void * opaque, const LG_TransportSession * session);
|
||||
/* Called only when an admitted session is unexpectedly lost. */
|
||||
void (*lost)(void * opaque);
|
||||
void (*disconnected)(void * opaque);
|
||||
void (*uuidMismatch)(void * opaque, const uint8_t primary[16],
|
||||
const uint8_t fallback[16]);
|
||||
|
||||
Reference in New Issue
Block a user