mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
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…
x
Reference in New Issue
Block a user