mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-20 06:35:50 +02:00
[161342] fix for null pointer exception in strange timing scenario
This commit is contained in:
parent
1b6b57b9ef
commit
0e5e6f7e90
1 changed files with 4 additions and 2 deletions
|
@ -317,8 +317,10 @@ public class DStoreConnectorService extends AbstractConnectorService implements
|
||||||
{
|
{
|
||||||
dataStore.getDomainNotifier().removeDomainListener(_connectionStatusListener);
|
dataStore.getDomainNotifier().removeDomainListener(_connectionStatusListener);
|
||||||
}
|
}
|
||||||
|
if (clientConnection != null)
|
||||||
|
{
|
||||||
clientConnection.disconnect();
|
clientConnection.disconnect();
|
||||||
|
}
|
||||||
|
|
||||||
// Fire comm event to signal state changed
|
// Fire comm event to signal state changed
|
||||||
notifyDisconnection();
|
notifyDisconnection();
|
||||||
|
|
Loading…
Add table
Reference in a new issue