Commit eff4bbda authored by Francis Dupont's avatar Francis Dupont
Browse files

[153-netconf-agent] Fixed closure

parent dea8b62b
......@@ -58,7 +58,7 @@ NetconfProcess::run() {
// Initialize the agent in a thread.
Thread th([cfg_mgr]() { agent_.init(cfg_mgr); });
Thread th([this, cfg_mgr]() { agent_.init(cfg_mgr); });
// Let's process incoming data or expiring timers in a loop until
// shutdown condition is detected.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment