BUG-3219: clear queue array before stashing 96/20996/1
authorRobert Varga <rovarga@cisco.com>
Thu, 21 May 2015 11:05:15 +0000 (13:05 +0200)
committerMichal Polkorab <michal.polkorab@pantheon.sk>
Fri, 22 May 2015 15:26:17 +0000 (15:26 +0000)
commitfb53aa09a2412caccf65731f5868b70915567ec2
treef72de3f478de8931f7cff3dcedb6524d09979e57
parent701b8103d011a8d5139165cf62c2deab36864a1a
BUG-3219: clear queue array before stashing

The queue should be cleared before stashing so as to not take the take
up memory.

Change-Id: I71c9a90e1ed9e4b7c7d47bb3e0785f67a8daf932
Signed-off-by: Robert Varga <rovarga@cisco.com>
(cherry picked from commit f84d1445e610bf985caa1c4e41c35954ea664b2c)
openflow-protocol-impl/src/main/java/org/opendaylight/openflowjava/protocol/impl/core/connection/OutboundQueueImpl.java
openflow-protocol-impl/src/main/java/org/opendaylight/openflowjava/protocol/impl/core/connection/OutboundQueueManager.java