- This happens when another emulator-manager's VM is running.
Change-Id: Id87c39b65ef50884b8d124a3a1bd1160ce1fdd7b
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
}
private void settingProperty(String path, VMSocket vms) {
+ if (vms != null) {
+ RefreshWorker.addToFinishedSet(vms.getEcs_port());
+ }
+
for (VMProperty prop : (VMProperty[])(EmulatorVMList.getInstance().getProperties())) {
String imagePath = prop.getChildImagePath();
String swapImagePath = prop.getSwapImagePathTmp(); // tmp
- if (imagePath != null &&
- (path.equals(imagePath) || path.equals(swapImagePath)) ) {
+ if (path.equals(imagePath) || path.equals(swapImagePath)) {
if (vms != null) {
vms.setProperty(prop);
RefreshWorker.addToFinishedSet(vms.getEcs_port());