mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 06:57:24 -06:00
Hold the Preferences lock the absolute minimum time.
This commit is contained in:
@@ -148,6 +148,7 @@ void Preferences::save() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dirty = false;
|
dirty = false;
|
||||||
|
locker.unlock();
|
||||||
|
|
||||||
#ifndef Q_OS_MAC
|
#ifndef Q_OS_MAC
|
||||||
settings->sync(); // Important to get error status
|
settings->sync(); // Important to get error status
|
||||||
|
|||||||
Reference in New Issue
Block a user