mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-08 00:35:49 +02:00
[225175] fix how disconnect is done - there will always be a systemservice manager
This commit is contained in:
parent
9d53605b88
commit
440f02b9c3
4 changed files with 5 additions and 5 deletions
|
@ -306,7 +306,7 @@ implements ISchemaExtender
|
|||
_dataStore.trace(er);
|
||||
_dataStore.finish();
|
||||
|
||||
if (SystemServiceManager.getInstance() == null)
|
||||
if (SystemServiceManager.getInstance().getSystemService() == null)
|
||||
System.exit(-1);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -191,7 +191,7 @@ public class ConnectionEstablisher
|
|||
_dataStore.finish();
|
||||
System.out.println(ServerReturnCodes.RC_FINISHED);
|
||||
|
||||
if (SystemServiceManager.getInstance() == null)
|
||||
if (SystemServiceManager.getInstance().getSystemService() == null)
|
||||
System.exit(0);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -66,7 +66,7 @@ public class Server implements Runnable
|
|||
{
|
||||
// version is bad
|
||||
System.err.println(ServerReturnCodes.RC_JRE_VERSION_ERROR);
|
||||
if (SystemServiceManager.getInstance() == null)
|
||||
if (SystemServiceManager.getInstance().getSystemService() == null)
|
||||
System.exit(-1);
|
||||
}
|
||||
}
|
||||
|
@ -74,7 +74,7 @@ public class Server implements Runnable
|
|||
{
|
||||
// version is bad
|
||||
System.err.println(ServerReturnCodes.RC_JRE_VERSION_ERROR);
|
||||
if (SystemServiceManager.getInstance() == null)
|
||||
if (SystemServiceManager.getInstance().getSystemService() == null)
|
||||
System.exit(-1);
|
||||
}
|
||||
|
||||
|
|
|
@ -65,7 +65,7 @@ public class ServerCommandHandler extends CommandHandler
|
|||
System.out.println(ServerReturnCodes.RC_FINISHED);
|
||||
|
||||
// only exit if there's no service manager
|
||||
if (SystemServiceManager.getInstance() == null)
|
||||
if (SystemServiceManager.getInstance().getSystemService() == null)
|
||||
System.exit(0);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue