QR2: Remove indefinite mutex lock on shutdown

This commit is contained in:
mkwcat
2024-05-07 05:08:26 -04:00
parent 71e29b7556
commit 2ba0b97598

View File

@@ -65,9 +65,6 @@ func StartServer(reload bool) {
}
func Shutdown() {
// Lock indefinitely
mutex.Lock()
err := saveSessions()
if err != nil {
logging.Error("QR2", "Failed to save sessions:", err)