https://bugs.kde.org/show_bug.cgi?id=351485

David Edmundson <k...@davidedmundson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|UNCONFIRMED                 |RESOLVED
      Latest Commit|                            |http://commits.kde.org/kact
                   |                            |ivities/b3c8ad1ad48d65ea777
                   |                            |24f94073909dc8ab97596

--- Comment #25 from David Edmundson <k...@davidedmundson.co.uk> ---
Git commit b3c8ad1ad48d65ea77724f94073909dc8ab97596 by David Edmundson.
Committed on 06/02/2016 at 18:03.
Pushed by davidedmundson into branch 'master'.

Fix crash in activities context menu

Currently we call deleteLater() from inside ::run which is running in a
different thread than the receiving object.
(QThread objects live in the thread that created them, not in the thread
they create)

This patch causes deleteLater to be run in the right thread.

QCoreApplication::postEvent is thread safe but it needs to be in the
right thread to work out the correct event loop level for deferred
delete events.
REVIEW: 126955

M  +1    -1    src/workspace/fileitemplugin/FileItemLinkingPlugin.cpp
M  +7    -2   
src/workspace/fileitemplugin/FileItemLinkingPluginActionLoader.cpp
M  +2    -2    src/workspace/fileitemplugin/FileItemLinkingPluginActionLoader.h

http://commits.kde.org/kactivities/b3c8ad1ad48d65ea77724f94073909dc8ab97596

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to