Git commit 074d52778f68c2b1456ba54633bace8e366667cb by Elvis Angelaccio. Committed on 30/04/2016 at 11:02. Pushed by elvisangelaccio into branch 'master'.
Don't block the main thread while running CliInterface jobs Currently we freeze the GUI thread while running CliInterface jobs, because there is a nested event loop in runProcess(), which doesn't run anymore in a separate thread. We can simply drop this event loop and rework the CliInterface logic, such that the emit signal is not emitted anymore when runProcess() returns, but in processFinished() instead. This exposed a crash when closing the main window while a pending job was running. The fix is simply to not emit finished() if the m_abortingOperation flag is set. Related: bug 222392 FIXED-IN: 16.08.0 Differential Revision: D1510 M +4 -8 kerfuffle/archiveinterface.h M +116 -86 kerfuffle/cliinterface.cpp M +13 -3 kerfuffle/cliinterface.h M +0 -1 part/jobtracker.cpp M +0 -1 plugins/cliunarchiverplugin/cliplugin.cpp http://commits.kde.org/ark/074d52778f68c2b1456ba54633bace8e366667cb -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/635384 Title: ark crashes while loading a big archive To manage notifications about this bug go to: https://bugs.launchpad.net/kdeutils/+bug/635384/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs