QR2: Fix nil session.messageMutex after reload

This commit is contained in:
mkwcat 2024-05-10 21:43:51 -04:00
parent 23549b9f42
commit 09ff4c88ce
No known key found for this signature in database
GPG Key ID: 7A505679CE9E7AA9

View File

@ -325,7 +325,10 @@ func loadSessions() error {
sessionBySearchID[session.SearchID] = session
}
session.messageMutex = &deadlock.Mutex{}
session.messageAckWaker = &sleep.Waker{}
session.groupPointer = nil
session.login = nil
}
return nil