mirror of https://github.com/apache/cloudstack.git
CID-1116248: Synchornize method in SynchronousListener
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
bd1752811c
commit
3640c61207
|
|
@ -57,7 +57,7 @@ public class SynchronousListener implements Listener {
|
|||
return false;
|
||||
}
|
||||
|
||||
public boolean isDisconnected() {
|
||||
public synchronized boolean isDisconnected() {
|
||||
return _disconnected;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue