Add OnDisconnecting service callback (#767)

Add OnDisconnecting service callback for mobile
This commit is contained in:
Zoltan Papp
2023-03-29 10:39:54 +02:00
committed by GitHub
parent 488d338ce8
commit 8ebd6ce963
4 changed files with 23 additions and 1 deletions
+1
View File
@@ -164,6 +164,7 @@ func RunClient(ctx context.Context, config *Config, statusRecorder *peer.Status,
state.Set(StatusConnected)
<-engineCtx.Done()
statusRecorder.ClientTeardown()
backOff.Reset()