1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-03 22:35:43 +02:00

Fix for PR 45818: NPE when closing the workbench.

This commit is contained in:
Mikhail Khodjaiants 2003-10-30 18:15:02 +00:00
parent db3182f4f4
commit 1416fa73c3
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2003-10-30 Mikhail Khodjaiants
Fix for PR 45818: NPE when closing the workbench.
* CDebugElement.java
2003-10-29 Mikhail Khodjaiants
* CProjectSourceLocation.java: check if the searched element name is not null or empty.

View file

@ -122,7 +122,8 @@ public class CDebugElement extends PlatformObject
*/
protected void fireEvent(DebugEvent event)
{
DebugPlugin.getDefault().fireDebugEventSet( new DebugEvent[] { event } );
if ( DebugPlugin.getDefault() != null ) // Quick fix for PR 45818. Revise later.
DebugPlugin.getDefault().fireDebugEventSet( new DebugEvent[] { event } );
}
/**