implement SHUTDOWN

tunneling
Volker Birk 4 years ago
parent 02ebd15e20
commit 059ee014ee

@ -39,6 +39,10 @@ enum {
Extra = 128 // messages will be below this ID
};
enum {
SHUTDOWN = 0
};
#ifdef __cplusplus
}
#endif

@ -537,4 +537,14 @@ action tellWeAreNotGrouped
session->sync_state.keysync.is_group = false;
||
action disable;
action disable
||
leave_device_group(session);
// ignore the result, disable anyway
if (!session->inject_sync_event)
return PEP_SYNC_NO_INJECT_CALLBACK;
session->inject_sync_event(SHUTDOWN, NULL);
||

Loading…
Cancel
Save