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