[epsonprojector] Always set ready=true on disconnect and improve documentation (#10079)
* Always set ready on disconnect and improve documentation * improve documentation Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
This commit is contained in:
@@ -206,11 +206,11 @@ public class EpsonProjectorDevice {
|
||||
public void disconnect() throws EpsonProjectorException {
|
||||
connection.disconnect();
|
||||
connected = false;
|
||||
ready = true;
|
||||
ScheduledFuture<?> timeoutJob = this.timeoutJob;
|
||||
if (timeoutJob != null) {
|
||||
timeoutJob.cancel(true);
|
||||
this.timeoutJob = null;
|
||||
ready = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user