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:
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);
|
||||
}
|
||||
|
||||
clientConnection.disconnect();
|
||||
if (clientConnection != null)
|
||||
{
|
||||
clientConnection.disconnect();
|
||||
}
|
||||
|
||||
// Fire comm event to signal state changed
|
||||
notifyDisconnection();
|
||||
|
|
Loading…
Add table
Reference in a new issue