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

Dmitry Kazakov <dimul...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/kde/
                   |                            |krita/commit/4622b00348ce79
                   |                            |73f53245930506aef5099c9850
             Status|ASSIGNED                    |RESOLVED

--- Comment #14 from Dmitry Kazakov <dimul...@gmail.com> ---
Git commit 4622b00348ce7973f53245930506aef5099c9850 by Dmitry Kazakov.
Committed on 23/05/2019 at 15:56.
Pushed by dkazakov into branch 'master'.

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

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/4622b00348ce7973f53245930506aef5099c9850

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

Reply via email to