mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-05 16:15:25 +02:00
Bug 469522 - [Launch bar] An internal error occurred during: "Stopping
launches" (NPE) Change-Id: I3d3af8182680a39cccc734015927235bb4bcc227 Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
This commit is contained in:
parent
329f20b8c9
commit
a637a8a4ef
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ public class StopActiveCommandHandler extends AbstractHandler {
|
|||
ILaunchConfiguration activeConfig = launchBarManager.getActiveLaunchConfiguration();
|
||||
for (ILaunch launch : activeLaunches) {
|
||||
ILaunchConfiguration launchConfig = launch.getLaunchConfiguration();
|
||||
if (launchConfig.equals(activeConfig)) {
|
||||
if (launchConfig != null && launchConfig.equals(activeConfig)) {
|
||||
launch.terminate();
|
||||
} else if (launchConfig instanceof ILaunchConfigurationWorkingCopy) {
|
||||
// There are evil delegates that use a working copy for scratch storage
|
||||
|
|
Loading…
Add table
Reference in a new issue