Skip to content

Commit

Permalink
Remove unneeded checks.
Browse files Browse the repository at this point in the history
  • Loading branch information
levlam committed Nov 22, 2020
1 parent 7dcfb6c commit 45c3e28
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tdactor/td/actor/impl/Scheduler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,6 @@ void Scheduler::clear() {
auto actor_info = ActorInfo::from_list_node(ready_actors_list_.get());
do_stop_actor(actor_info);
}
LOG_IF(FATAL, !ready_actors_list_.empty()) << ActorInfo::from_list_node(ready_actors_list_.next)->get_name();
CHECK(ready_actors_list_.empty());
poll_.clear();

if (callback_ && !ExitGuard::is_exited()) {
Expand Down

0 comments on commit 45c3e28

Please sign in to comment.