mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Bug 343006: NPE in MIBreakpointsManager when terminating
This commit is contained in:
parent
fd479f4b3d
commit
60487e7a57
1 changed files with 3 additions and 1 deletions
|
@ -330,7 +330,9 @@ public class GDBProcesses_7_2 extends GDBProcesses_7_1 {
|
|||
if (fBackend.getSessionType() != SessionType.CORE) {
|
||||
IBreakpointsTargetDMContext bpTargetDmc = DMContexts.getAncestorOfType(dmc, IBreakpointsTargetDMContext.class);
|
||||
MIBreakpointsManager bpmService = getServicesTracker().getService(MIBreakpointsManager.class);
|
||||
bpmService.stopTrackingBreakpoints(bpTargetDmc, new RequestMonitor(ImmediateExecutor.getInstance(), null));
|
||||
if (bpmService != null) {
|
||||
bpmService.stopTrackingBreakpoints(bpTargetDmc, new RequestMonitor(ImmediateExecutor.getInstance(), null));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue