mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 09:46:02 +02:00
Should call the backend object's clearDebugContext() before calling its dispose().
This commit is contained in:
parent
0a65cfc704
commit
a93ec1e1d0
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue