mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-12 12:54:29 +00:00
Fix memory leak with Dropbox version control plugin.
In the current version we only call endRetrieval when beginRetrieval was successfully in UpdateItemStatesThread::run(). This causes some problems with version control plugins (like Dropbox plugin), which have to do cleanups in endRetrieval. Now we always call endRetrieval after beginRetrieval when updating the version states. FIXED-IN: 4.13.1 REVIEW: 117753
This commit is contained in:
parent
bf4b163a0e
commit
272cbbd16b
|
@ -64,9 +64,9 @@ void UpdateItemStatesThread::run()
|
|||
items[i].version = static_cast<KVersionControlPlugin2::ItemVersion>(state);
|
||||
}
|
||||
}
|
||||
|
||||
m_plugin->endRetrieval();
|
||||
}
|
||||
|
||||
m_plugin->endRetrieval();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue