mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 14:12:10 +02:00
Bug 331232: Missing some unregistering
This commit is contained in:
parent
71ddec1100
commit
3c0d068f99
1 changed files with 4 additions and 0 deletions
|
@ -221,6 +221,7 @@ public class GdbAdapterFactory
|
|||
DsfSession session = fLaunch.getSession();
|
||||
|
||||
fViewModelAdapter.dispose();
|
||||
session.unregisterModelAdapter(IViewerInputProvider.class);
|
||||
|
||||
session.unregisterModelAdapter(ISourceDisplay.class);
|
||||
if (fSourceDisplayAdapter != null) fSourceDisplayAdapter.dispose();
|
||||
|
@ -252,6 +253,9 @@ public class GdbAdapterFactory
|
|||
session.unregisterModelAdapter(ISelectNextTraceRecordHandler.class);
|
||||
session.unregisterModelAdapter(ISelectPrevTraceRecordHandler.class);
|
||||
|
||||
session.unregisterModelAdapter(IDebugModelProvider.class);
|
||||
session.unregisterModelAdapter(ILaunch.class);
|
||||
|
||||
session.unregisterModelAdapter(ICEditorTextHover.class);
|
||||
|
||||
fSteppingModeTarget.dispose();
|
||||
|
|
Loading…
Add table
Reference in a new issue