mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
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:
@@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user