mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-15 12:15:47 +02:00
Partial fix for PR 52155.
This commit is contained in:
parent
2c1e95c730
commit
aa349fc2b3
2 changed files with 18 additions and 4 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2004-02-20 Alain Magloire
|
||||||
|
Partial Fix for #52155, we simply catch the exception.
|
||||||
|
We do not worry about it too much since this code will
|
||||||
|
be rewritten part of catching up with Eclipse 3.0
|
||||||
|
* CDebugUIPlugin.java: shutdown()
|
||||||
|
|
||||||
2004-02-16 Mikhail Khodjaiants
|
2004-02-16 Mikhail Khodjaiants
|
||||||
Fix for bug 52135: Debugger should indicate which thread triggered breakpoint.
|
Fix for bug 52135: Debugger should indicate which thread triggered breakpoint.
|
||||||
* CDTDebugModelPresentation.java
|
* CDTDebugModelPresentation.java
|
||||||
|
|
|
@ -324,11 +324,19 @@ public class CDebugUIPlugin extends AbstractUIPlugin
|
||||||
public void shutdown() throws CoreException
|
public void shutdown() throws CoreException
|
||||||
{
|
{
|
||||||
DebugPlugin.getDefault().removeDebugEventListener( this );
|
DebugPlugin.getDefault().removeDebugEventListener( this );
|
||||||
|
// TODO: PR 52155, this is big hammer approach, but it is ok for
|
||||||
|
// Since the code will be remove when we align ourselves
|
||||||
|
// with Eclipse-3.0
|
||||||
|
try
|
||||||
|
{
|
||||||
IWorkbenchWindow ww = getActiveWorkbenchWindow();
|
IWorkbenchWindow ww = getActiveWorkbenchWindow();
|
||||||
if ( ww != null )
|
if ( ww != null )
|
||||||
{
|
{
|
||||||
ww.getSelectionService().removeSelectionListener( IDebugUIConstants.ID_DEBUG_VIEW, this );
|
ww.getSelectionService().removeSelectionListener( IDebugUIConstants.ID_DEBUG_VIEW, this );
|
||||||
}
|
}
|
||||||
|
} catch (Exception e) {
|
||||||
|
// Big hammer.
|
||||||
|
}
|
||||||
if ( fImageDescriptorRegistry != null )
|
if ( fImageDescriptorRegistry != null )
|
||||||
{
|
{
|
||||||
fImageDescriptorRegistry.dispose();
|
fImageDescriptorRegistry.dispose();
|
||||||
|
|
Loading…
Add table
Reference in a new issue