Fix hang on exit when viewing huge folder
ClosedPublic

Authored by sandsmark on Mar 28 2020, 1:59 PM.

Details

Summary

Even if thumbnail storing is turned off in the settings gwenview still stores them and instead deletes them on exit. I have a separate fix for that, but this also meant that it hung for a long time when exiting because it didn't try to shut down the thumbnail writer thread.

Test Plan

Doesn't hang anymore on exit.

Diff Detail

Repository
R260 Gwenview
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
sandsmark requested review of this revision.Mar 28 2020, 1:59 PM
sandsmark created this revision.
ngraham accepted this revision.Mar 30 2020, 2:02 PM
ngraham added a subscriber: ngraham.

Land on the stable branch please!

This revision is now accepted and ready to land.Mar 30 2020, 2:02 PM
This revision was automatically updated to reflect the committed changes.