Don't attempt to start idleDisconnectMonitor again if RS is restarted.
This commit is contained in:
parent
4a1684eb92
commit
a5692d1076
|
@ -57,7 +57,10 @@ public class RuffyScripter {
|
|||
public void start() {
|
||||
try {
|
||||
ruffyService.addHandler(mHandler);
|
||||
// TODO this'll be done better in v2 via ConnectionManager
|
||||
if (idleDisconnectMonitorThread.getState() == Thread.State.NEW) {
|
||||
idleDisconnectMonitorThread.start();
|
||||
}
|
||||
started = true;
|
||||
} catch (RemoteException e) {
|
||||
throw new RuntimeException(e);
|
||||
|
|
Loading…
Reference in a new issue