commit | 598c28d234c637b47fb77fce6de523c75d5a90a2 | [log] [tgz] |
---|---|---|
author | Satish K <satishk@huawei.com> | Tue Nov 24 17:20:40 2015 +0530 |
committer | Satish K <satishk@huawei.com> | Tue Nov 24 17:20:50 2015 +0530 |
tree | 4bf17f5bf5c5bf5d68fe0b3460bbaa03d0bbca79 | |
parent | 98fc1e7f3f42d7dbcfb49f956743410d2b6269c1 [diff] |
Inconsistent synchronization fix for UiWebSocket.connection Change-Id: I098c5765c89f5885df54578c624ff80fb67727b8
diff --git a/web/gui/src/main/java/org/onosproject/ui/impl/UiWebSocket.java b/web/gui/src/main/java/org/onosproject/ui/impl/UiWebSocket.java index 1b6f7f9..1d49d02 100644 --- a/web/gui/src/main/java/org/onosproject/ui/impl/UiWebSocket.java +++ b/web/gui/src/main/java/org/onosproject/ui/impl/UiWebSocket.java
@@ -103,7 +103,7 @@ } @Override - public void onOpen(Connection connection) { + public synchronized void onOpen(Connection connection) { this.connection = connection; this.control = (FrameConnection) connection; try {