Fixed inconsistent synchronization
This commit is contained in:
parent
7d00231a60
commit
9e623c9cb1
@ -60,7 +60,7 @@ public class NettyResourceFactory implements InitializingBean, DisposableBean {
|
||||
unterminatableExecutor = null;
|
||||
}
|
||||
|
||||
public Executor getChannelFactoryExecutor() {
|
||||
public synchronized Executor getChannelFactoryExecutor() {
|
||||
return unterminatableExecutor;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user