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:
parent
bc9636b04f
commit
b4fb39a8df
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue