Fix NPE when there's no pump.

This commit is contained in:
Johannes Mockenhaupt 2017-12-08 12:50:52 +01:00
parent 6e5f848c6b
commit e5a68608a0
No known key found for this signature in database
GPG key ID: 9E1EA6AF7BBBB0D1

View file

@ -189,6 +189,9 @@ public class RuffyScripter implements RuffyCommands {
@Override
public synchronized void disconnect() {
if (ruffyService == null) {
return;
}
try {
ruffyService.doRTDisconnect();
} catch (RemoteException e) {