mirror of
https://github.com/WiiLink24/wfc-server.git
synced 2026-06-17 20:59:21 -05:00
QR2: Remove indefinite mutex lock on shutdown
This commit is contained in:
parent
71e29b7556
commit
2ba0b97598
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user