commit | d75684aa581a583b62a2a88f465dfbd741372193 | [log] [tgz] |
---|---|---|
author | Thomas Vachuska <tom@opennetworking.org> | Wed Jan 03 09:04:47 2018 -0800 |
committer | Ray Milkey <ray@opennetworking.org> | Tue Jan 09 00:54:40 2018 +0000 |
tree | 62fabd034f101334d3ebabcfc19f6e8cf6fb828a | |
parent | 71026b2d0a170d7b77d3e80268a0bc9b5e643053 [diff] |
Setting dispatcher to null to pre-empt potential for duplicate invocations of showdownNow method. Change-Id: I492e18a38979fa8772039b0e0bac32d6146a2041
diff --git a/protocols/openflow/ctl/src/main/java/org/onosproject/openflow/controller/impl/OFChannelHandler.java b/protocols/openflow/ctl/src/main/java/org/onosproject/openflow/controller/impl/OFChannelHandler.java index 79e391b..2714b8e 100644 --- a/protocols/openflow/ctl/src/main/java/org/onosproject/openflow/controller/impl/OFChannelHandler.java +++ b/protocols/openflow/ctl/src/main/java/org/onosproject/openflow/controller/impl/OFChannelHandler.java
@@ -1267,6 +1267,7 @@ if (dispatcher != null) { dispatcher.shutdownNow(); + dispatcher = null; } if (thisdpid != 0) {