mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-10 23:07:59 +00:00
Hold the Preferences lock the absolute minimum time.
This commit is contained in:
parent
153f3328f3
commit
89db090cb9
@ -148,6 +148,7 @@ void Preferences::save() {
|
||||
}
|
||||
|
||||
dirty = false;
|
||||
locker.unlock();
|
||||
|
||||
#ifndef Q_OS_MAC
|
||||
settings->sync(); // Important to get error status
|
||||
|
Loading…
Reference in New Issue
Block a user