1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-19 22:25:52 +02:00

[161342] fix for null pointer exception in strange timing scenario

This commit is contained in:
David McKnight 2006-11-17 18:06:57 +00:00
parent 1b6b57b9ef
commit 0e5e6f7e90

View file

@ -317,8 +317,10 @@ public class DStoreConnectorService extends AbstractConnectorService implements
{
dataStore.getDomainNotifier().removeDomainListener(_connectionStatusListener);
}
clientConnection.disconnect();
if (clientConnection != null)
{
clientConnection.disconnect();
}
// Fire comm event to signal state changed
notifyDisconnection();