Skip to content

Commit

Permalink
Call publishPendingTags on all blocks rather than this scheduler
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Kretz <m.kretz@gsi.de>
  • Loading branch information
mattkretz committed Sep 30, 2024
1 parent 714dddb commit f08ae02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/include/gnuradio-4.0/Scheduler.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ class SchedulerBase : public Block<Derived> {
std::lock_guard lock(_jobListsMutex);
_graph.forEachBlockMutable([this](auto& block) {
this->emitErrorMessageIfAny("LifecycleState -> RUNNING", block.changeState(lifecycle::RUNNING));
for_each_port([](auto& port) { port.publishPendingTags(); }, outputPorts<PortType::STREAM>(this));
for_each_port([](auto& port) { port.publishPendingTags(); }, outputPorts<PortType::STREAM>(block));
});
if constexpr (executionPolicy() == ExecutionPolicy::singleThreaded || executionPolicy() == ExecutionPolicy::singleThreadedBlocking) {
assert(_nRunningJobs.load(std::memory_order_acquire) == 0UZ);
Expand Down

0 comments on commit f08ae02

Please sign in to comment.