Browse Source

DEC-8 设计器远程干涉服务器缓存问题

master
zack 7 years ago
parent
commit
08ba12c27d
  1. 7
      designer_base/src/com/fr/env/RemoteEnv.java

7
designer_base/src/com/fr/env/RemoteEnv.java vendored

@ -574,8 +574,6 @@ public class RemoteEnv extends AbstractEnv {
clock.stop(); clock.stop();
// richer:把轮训使用的定时器也去掉 // richer:把轮训使用的定时器也去掉
timer.cancel(); timer.cancel();
// 当前环境可能用了远程环境的缓存目录,释放一下
CacheManager.getProviderInstance().setCacheDirectory(null);
HashMap<String, String> para = new HashMap<String, String>(); HashMap<String, String> para = new HashMap<String, String>();
para.put("op", "fr_remote_design"); para.put("op", "fr_remote_design");
para.put("cmd", "r_sign_out"); para.put("cmd", "r_sign_out");
@ -2283,4 +2281,9 @@ public class RemoteEnv extends AbstractEnv {
return StringUtils.EMPTY; return StringUtils.EMPTY;
} }
} }
@Override
public boolean isRemoteEnv() {
return true;
}
} }
Loading…
Cancel
Save