Skip to content

Commit

Permalink
fix feature soundness
Browse files Browse the repository at this point in the history
  • Loading branch information
WorldSEnder committed Aug 6, 2022
1 parent f160674 commit 65599fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/yew/src/scheduler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ struct TopologicalQueue {
}

impl TopologicalQueue {
#[cfg(any(feature = "ssr", feature = "csr"))]
fn push(&mut self, component_id: usize, task: Box<dyn Runnable>) {
let span = tracing::span!(tracing::Level::TRACE, "scheduler-task");
span.follows_from(Span::current());
Expand Down

0 comments on commit 65599fa

Please sign in to comment.