DUBBO-212 在有非daemon线程时服务注册失败容器没有退出,改为用System.exit(1)强制退出。

git-svn-id: http://code.alibabatech.com/svn/dubbo/trunk@957 1a56cb94-b969-4eaa-88fa-be21384802f2
This commit is contained in:
william.liangf 2012-02-15 04:35:15 +00:00
parent bc9636b04f
commit b4fb39a8df
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ public class Main {
} catch (RuntimeException e) {
e.printStackTrace();
logger.error(e.getMessage(), e);
throw e;
System.exit(1);
}
synchronized (Main.class) {
while (running) {