fix cancelRefresh

This commit is contained in:
Pascal Fischer 2024-11-06 20:47:25 +01:00
parent 8ac4a0a1e1
commit 84f229f051

View File

@ -248,7 +248,7 @@ func (s *GRPCServer) cancelPeerRoutines(ctx context.Context, accountID string, p
ok := s.peersUpdateManager.CloseChannel(ctx, peer.ID, sessionID)
if ok {
_ = s.accountManager.OnPeerDisconnected(ctx, accountID, peer.Key)
s.secretsManager.CancelRefresh(sessionID)
s.secretsManager.CancelRefresh(peer.ID)
s.ephemeralManager.OnPeerDisconnected(ctx, peer)
}
}