1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-07 17:56:01 +02:00

Should call the backend object's clearDebugContext() before calling its dispose().

This commit is contained in:
John Cortell 2010-04-15 15:50:53 +00:00
parent 0a65cfc704
commit a93ec1e1d0

View file

@ -1785,6 +1785,7 @@ public abstract class DisassemblyPart extends WorkbenchPart implements IDisassem
if (context != null) {
if (fBackend == null || !fBackend.supportsDebugContext(context)) {
if (fBackend != null) {
fBackend.clearDebugContext();
fBackend.dispose();
}
fBackend = (IDisassemblyBackend)context.getAdapter(IDisassemblyBackend.class);