mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-04 06:45:43 +02:00
Fix for PR 45818: NPE when closing the workbench.
This commit is contained in:
parent
db3182f4f4
commit
1416fa73c3
2 changed files with 6 additions and 1 deletions
|
@ -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
|
2003-10-29 Mikhail Khodjaiants
|
||||||
* CProjectSourceLocation.java: check if the searched element name is not null or empty.
|
* CProjectSourceLocation.java: check if the searched element name is not null or empty.
|
||||||
|
|
||||||
|
|
|
@ -122,7 +122,8 @@ public class CDebugElement extends PlatformObject
|
||||||
*/
|
*/
|
||||||
protected void fireEvent(DebugEvent event)
|
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 } );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue