Fixed inconsistent synchronization

This commit is contained in:
Trustin Lee 2009-03-04 10:24:13 +00:00
parent 39cc4bc3fb
commit 7d00231a60

View File

@ -63,7 +63,7 @@ public class NettyResourceFactory {
unterminatableExecutor = null;
}
public Executor getChannelFactoryExecutor() {
public synchronized Executor getChannelFactoryExecutor() {
return unterminatableExecutor;
}
}