Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 283586 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/cdt/dsf/gdb/launching/GdbLaunch.java (+7 lines)
Lines 45-50 Link Here
45
import org.eclipse.core.runtime.MultiStatus;
45
import org.eclipse.core.runtime.MultiStatus;
46
import org.eclipse.core.runtime.Platform;
46
import org.eclipse.core.runtime.Platform;
47
import org.eclipse.core.runtime.Status;
47
import org.eclipse.core.runtime.Status;
48
import org.eclipse.debug.core.DebugEvent;
48
import org.eclipse.debug.core.DebugException;
49
import org.eclipse.debug.core.DebugException;
49
import org.eclipse.debug.core.DebugPlugin;
50
import org.eclipse.debug.core.DebugPlugin;
50
import org.eclipse.debug.core.ILaunchConfiguration;
51
import org.eclipse.debug.core.ILaunchConfiguration;
Lines 263-268 Link Here
263
                    // DsfMemoryBlockRetrieval.saveMemoryBlocks();
264
                    // DsfMemoryBlockRetrieval.saveMemoryBlocks();
264
                    fMemRetrieval.saveMemoryBlocks();
265
                    fMemRetrieval.saveMemoryBlocks();
265
                    
266
                    
267
                    // Fire a terminate event for the memory retrieval object so
268
                    // that the hosting memory views can clean up. See 255120 and
269
                    // 283586
270
                    DebugPlugin.getDefault().fireDebugEventSet( new DebugEvent[] { new DebugEvent(fMemRetrieval, DebugEvent.TERMINATE) });
271
                    
272
                    
266
                    // endSession takes a full dispatch to distribute the 
273
                    // endSession takes a full dispatch to distribute the 
267
                    // session-ended event, finish step only after the dispatch.
274
                    // session-ended event, finish step only after the dispatch.
268
                    fExecutor.shutdown();
275
                    fExecutor.shutdown();

Return to bug 283586