Don't shutdown a nonexistant native server on 1.2, either.

This commit is contained in:
Brandon Williams 2014-01-14 15:19:51 -06:00
parent 34058783f5
commit 0d38b25f6f
1 changed files with 2 additions and 1 deletions

View File

@ -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()