mirror of https://github.com/apache/cassandra
Don't shutdown a nonexistant native server on 1.2, either.
This commit is contained in:
parent
34058783f5
commit
0d38b25f6f
|
|
@ -355,7 +355,8 @@ public class StorageService extends NotificationBroadcasterSupport implements IE
|
|||
{
|
||||
throw new IllegalStateException("No configured daemon");
|
||||
}
|
||||
daemon.nativeServer.stop();
|
||||
if (daemon.nativeServer != null)
|
||||
daemon.nativeServer.stop();
|
||||
}
|
||||
|
||||
public boolean isNativeTransportRunning()
|
||||
|
|
|
|||
Loading…
Reference in New Issue