Bug 488096 - Qt Debug launch delegate must cleanup GdbLaunch when launch fails
Summary: Qt Debug launch delegate must cleanup GdbLaunch when launch fails
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-qt (show other bugs)
Version: 8.8.1   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-19 06:21 EST by Marc Khouzam CLA
Modified: 2020-09-04 15:20 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Khouzam CLA 2016-02-19 06:21:34 EST
We forgot to do proper cleanup in QtLocalDebugLaunchConfigDelegate if the launch fails.

GdbLaunch allocates resources such as a DsfServicesTracker, a DsfSession, and all the services, which must be deallocated if the launch does not process.

We can mimic what GdbLaunchDelegate does.

Note the ongoing effort to improve cleanup in GdbLaunchDelegate as part of bug 456116