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

Igor Kushnir <igor...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/kdev
                   |                            |elop/kdevelop/commit/a6183b
                   |                            |28c2077b3610ab4afa9180489c3
                   |                            |aa05e5d
   Version Fixed In|                            |5.11.230400
         Resolution|---                         |FIXED

--- Comment #4 from Igor Kushnir <igor...@gmail.com> ---
Git commit a6183b28c2077b3610ab4afa9180489c3aa05e5d by Igor Kushnir.
Committed on 21/01/2023 at 06:50.
Pushed by igorkushnir into branch 'master'.

MIDebugJob: don't leak the debug session if config is invalid

The constructor of a MI debug job creates a debug session. When the
configured launch executable or its arguments are invalid, MIDebugJob
doesn't call MIDebugSession::startDebugging() and finishes with an
error. The debug session is not destroyed and the Debug area remains
active in KDevelop then.

Calling MIDebugSession::stopDebugger() finishes the debug session and
lets DebugController destroy it. This function explicitly and correctly
handles stopping debugger when it is not started.
FIXED-IN: 5.11.230400

M  +2    -0    plugins/debuggercommon/midebugjobs.cpp

https://invent.kde.org/kdevelop/kdevelop/commit/a6183b28c2077b3610ab4afa9180489c3aa05e5d

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

Reply via email to