[client] Run login popup on goroutine (#4080)

This commit is contained in:
Maycon Santos
2025-07-01 13:45:55 +02:00
committed by GitHub
parent 07d1ad35fc
commit 6ce8643368

View File

@@ -879,7 +879,7 @@ func (s *serviceClient) onUpdateAvailable() {
func (s *serviceClient) onSessionExpire() {
s.sendNotification = true
if s.sendNotification {
s.eventHandler.runSelfCommand(s.ctx, "login-url", "true")
go s.eventHandler.runSelfCommand(s.ctx, "login-url", "true")
s.sendNotification = false
}
}