diff options
author | Vladimir Lavor <vlavor@cisco.com> | 2021-10-19 12:17:15 +0200 |
---|---|---|
committer | Vladimir Lavor <vlavor@cisco.com> | 2021-10-19 12:51:40 +0200 |
commit | 4cc53fc9a836df099dde983d506eb892dc2fdef1 (patch) | |
tree | fb940798b16e08008a2624ce8d2a10cd225148d8 /binapi | |
parent | 385ccc0d8ba929f39881efb7784bfb0921044ae8 (diff) |
Fix memory leak in health check
1. On connection disconnect, health check loop ends immediately
and independently on probe interval setup
2. Proper resource cleanup
On disconnect, health check terminates itself with a delay based
on the probe interval. It causes memory usage going up if
AsyncConnect() & Disconnect() are called in a loop.
Signed-off-by: Vladimir Lavor <vlavor@cisco.com>
Change-Id: Ibcdfec9d2d7736f9390e21039d9a917228114273
Diffstat (limited to 'binapi')
0 files changed, 0 insertions, 0 deletions