Commit cdfca017 authored by Lukas Appelhans's avatar Lukas Appelhans
Browse files

Fix another deadlock

parent e6836144
......@@ -914,7 +914,9 @@ Delta* Package::retrieveDeltaTo(const Akabei::Package::Version& version)
{
Q_D(const Package);
QReadLocker locker(d->mutex);
locker.unlock();
retrieveDeltas();
locker.relock();
return d->deltaCache[version];//FIXME: No need to do deltaCache with version... just do the same way as retrieveDeltaFrom
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment