Skip to content

Commit

Permalink
Fix faulty assertion in scheduler
Browse files Browse the repository at this point in the history
  • Loading branch information
dermesser committed Aug 4, 2024
1 parent f0efdab commit 7d8d7dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uvco/loop/scheduler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ void Scheduler::runAll() {
}
}

void Scheduler::close() { BOOST_ASSERT(!resumableActive_.empty()); }
void Scheduler::close() { BOOST_ASSERT(resumableActive_.empty()); }

void Scheduler::enqueue(std::coroutine_handle<> handle) {
// Use of moved-out Scheduler?
Expand Down

0 comments on commit 7d8d7dc

Please sign in to comment.