[Desc.] modify checking emulator start routine.
[Issue] N/A
}
public void run() {
- while (true) {
+ boolean isChecking = false;
+ for (int i = 0; i < 8 ; i++) {
if (VMsWorker.checking(property)) {
+ isChecking = true;
CheckingRunningEmulator.removeEmulator(property.getName());
break;
}
synchronized(this) {
try {
- this.wait(500);
+ this.wait(1000);
} catch (InterruptedException e) {
EMLogger.getLogger().warning(e.getMessage());
break;
}
}
}
+
+ if (!isChecking) {
+ CheckingRunningEmulator.removeEmulator(property.getName());
+ }
}
}
\ No newline at end of file