Skip to content

Commit 9e623c9

Browse files
committed
Fixed inconsistent synchronization
1 parent 7d00231 commit 9e623c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/jboss/netty/container/spring/NettyResourceFactory.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public synchronized void destroy() {
6060
unterminatableExecutor = null;
6161
}
6262

63-
public Executor getChannelFactoryExecutor() {
63+
public synchronized Executor getChannelFactoryExecutor() {
6464
return unterminatableExecutor;
6565
}
6666
}

0 commit comments

Comments
 (0)