Fixed deadlock in AsyncSshHandlerWriter 84/81784/2
authorJaroslav Tóth <jtoth@frinx.io>
Tue, 2 Apr 2019 03:41:32 +0000 (05:41 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 29 Apr 2019 08:25:53 +0000 (10:25 +0200)
commit924a58ec8d9f5c7e40f187ba29b0ad0d2237bef9
tree9d49f9a5a45a677f92356812133f7ad2ece8c4d2
parent23016f940581b92c54eebe3a263fdeb934b84253
Fixed deadlock in AsyncSshHandlerWriter

Deadlock happened when listener for window is resized
and write is invoked at the same time.

Change-Id: I8c662d6cd5edbc3e36b31a754d826f79bec76434
Signed-off-by: Martin Sunal <msunal@frinx.io>
Signed-off-by: Jaroslav Tóth <jtoth@frinx.io>
(cherry picked from commit 0f45153d60a0fc71a08d011e21fdf5e83c174290)
netconf/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/ssh/client/AsyncSshHandlerWriter.java