|
|
@@ -466,9 +466,9 @@ namespace sophiar {
|
|
|
|
|
|
// start another coroutine that will reset the ndi_interface
|
|
|
// if the receiving reply coroutine stopped to work
|
|
|
- auto watchdog_coro = [this]() -> awaitable<void> {
|
|
|
+ auto watchdog_coro = [this, worker = receive_reply_worker]() -> awaitable<void> {
|
|
|
assert(q_this != nullptr);
|
|
|
- co_await receive_reply_worker->coro_wait_stop();
|
|
|
+ co_await worker->coro_wait_stop();
|
|
|
co_await q_this->reset();
|
|
|
co_return;
|
|
|
};
|