mirror of https://github.com/apache/cloudstack.git
Fixed a coverity reported concurrency issue
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
This commit is contained in:
parent
221c118b4f
commit
64b9ca0a35
|
|
@ -504,7 +504,9 @@ public class ConsoleProxy {
|
|||
}
|
||||
|
||||
public static ConsoleProxyClientStatsCollector getStatsCollector() {
|
||||
return new ConsoleProxyClientStatsCollector(connectionMap);
|
||||
synchronized (connectionMap) {
|
||||
return new ConsoleProxyClientStatsCollector(connectionMap);
|
||||
}
|
||||
}
|
||||
|
||||
public static void authenticationExternally(ConsoleProxyClientParam param) throws AuthenticationException {
|
||||
|
|
|
|||
Loading…
Reference in New Issue