mirror of
https://github.com/WiiLink24/wfc-server.git
synced 2026-12-05 07:01:53 -06:00
QR2: Remove indefinite mutex lock on shutdown
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user