Skip to content
Commit b184cad0 authored by Méven Car's avatar Méven Car
Browse files

KCoreDirListerCache:: make sure not to reinsert an item twice

In slotUpdateResult and processPendingUpdates.

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.

Not 100% sure this is sufficient to fix the crash, so only CC.

CCBUG: 473488
parent e0379fd0
Pipeline #645137 passed with stage
in 10 minutes and 10 seconds
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