Fixed AR-1483: Potential infinite loop caused by unsynchronized check on shared resource

Note: See the bug comments to see why I've added this in.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5851 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2007-06-05 15:55:50 +00:00
parent 8e941454ce
commit 8f836c1a6b

View File

@@ -67,8 +67,8 @@ public abstract class NetworkServer
// Server shutdown flag and server active flag // Server shutdown flag and server active flag
private boolean m_shutdown = false; private volatile boolean m_shutdown = false;
private boolean m_active = false; private volatile boolean m_active = false;
// Server error exception details // Server error exception details