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

Boudewijn Rempt <b...@valdyas.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/kde/ |https://invent.kde.org/kde/
                   |krita/commit/4622b00348ce79 |krita/commit/d0f011a061c522
                   |73f53245930506aef5099c9850  |dd0d0ff251e4aa4cd916ce22d3

--- Comment #15 from Boudewijn Rempt <b...@valdyas.org> ---
Git commit d0f011a061c522dd0d0ff251e4aa4cd916ce22d3 by Boudewijn Rempt, on
behalf of Dmitry Kazakov.
Committed on 24/05/2019 at 10:17.
Pushed by rempt into branch 'krita/4.2'.

Fix crash in move tool after closing the document

We shouldn't use lambda functions in signal connection if we need
to control lifetime of the connection. In this very case, the connection
was still active after destruciton of KisToolMove and lambda still stored
a pointer to destroyed 'this'.
BACKPORT:krita/4.2
(cherry picked from commit 4622b00348ce7973f53245930506aef5099c9850)

M  +58   -46   plugins/tools/basictools/kis_tool_move.cc
M  +11   -0    plugins/tools/basictools/kis_tool_move.h

https://invent.kde.org/kde/krita/commit/d0f011a061c522dd0d0ff251e4aa4cd916ce22d3

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

Reply via email to