Skip to content

Commit faea270

Browse files
xavierarteagacodebot
authored andcommitted
support: fix concurrent metric executor
1 parent 4b894b2 commit faea270

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/srsran/support/executors/concurrent_metrics_executor.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,8 @@ class concurrent_metrics_executor : public task_executor
152152
(void)free_tasks->try_push(task_idx);
153153
});
154154
if (!success) {
155+
task = {};
156+
(void)free_tasks->try_push(task_idx);
155157
logger.debug("Unsuccessful execution of handle metrics.");
156158
}
157159
}

0 commit comments

Comments
 (0)