Author: ron.sigal(a)jboss.com
Date: 2008-09-05 20:26:19 -0400 (Fri, 05 Sep 2008)
New Revision: 4533
Modified:
remoting2/branches/2.x/src/main/org/jboss/remoting/transport/socket/SocketServerInvoker.java
Log:
JBREM-1032: Added synchronization to destroy().
Modified:
remoting2/branches/2.x/src/main/org/jboss/remoting/transport/socket/SocketServerInvoker.java
===================================================================
---
remoting2/branches/2.x/src/main/org/jboss/remoting/transport/socket/SocketServerInvoker.java 2008-09-06
00:23:17 UTC (rev 4532)
+++
remoting2/branches/2.x/src/main/org/jboss/remoting/transport/socket/SocketServerInvoker.java 2008-09-06
00:26:19 UTC (rev 4533)
@@ -386,7 +386,10 @@
{
if(clientpool != null)
{
- clientpool.destroy();
+ synchronized (clientpool)
+ {
+ clientpool.destroy();
+ }
}
super.destroy();
}
Show replies by date