Remove pointless events about connection status.
This commit is contained in:
parent
848a32eade
commit
a21da8aba7
|
@ -296,12 +296,10 @@ public class ComboPlugin implements PluginBase, PumpInterface {
|
||||||
private CommandResult runCommand(Command command) {
|
private CommandResult runCommand(Command command) {
|
||||||
// TODO use this to dispatch methods to a service thread, like DanaRs executionService
|
// TODO use this to dispatch methods to a service thread, like DanaRs executionService
|
||||||
try {
|
try {
|
||||||
MainApp.bus().post(new EventPumpStatusChanged(EventPumpStatusChanged.CONNECTED));
|
|
||||||
return ruffyScripter.runCommand(command);
|
return ruffyScripter.runCommand(command);
|
||||||
} finally {
|
} finally {
|
||||||
lastCmdTime = new Date();
|
lastCmdTime = new Date();
|
||||||
ruffyScripter.disconnect();
|
ruffyScripter.disconnect();
|
||||||
MainApp.bus().post(new EventPumpStatusChanged(EventPumpStatusChanged.DISCONNECTED));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue