Skip to content

KCoreDirListerCache:: make sure not to reinsert an item twice

Méven Car requested to merge work/meven/bug-473488 into master

In slotUpdateResult and processPendingUpdates for local files.

pendingUpdates can be updated in KCoreDirListerCache::slotFilesChanged called synchrounously when file on disk are changed or asynchrously when its parent directory is scanned for whatever reason. It can happen that the pendingUpdateTimer triggers as the file is updated, this may cause reinsert for the same url, the second one causing a crash.

CCBUG: 473488

CC only has I am not 100% sure this will be sufficient.

Edited by Méven Car

Merge request reports