From 120295d1a2b44e74920fa740b08daf5bcf156194 Mon Sep 17 00:00:00 2001 From: Greg Johnston Date: Thu, 11 Aug 2022 07:15:12 -0400 Subject: [PATCH] Remove logs --- leptos_reactive/src/effect.rs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/leptos_reactive/src/effect.rs b/leptos_reactive/src/effect.rs index 52f18551a..6e7c90821 100644 --- a/leptos_reactive/src/effect.rs +++ b/leptos_reactive/src/effect.rs @@ -113,31 +113,20 @@ where // clear previous dependencies // at this point, Effect dependencies have been added to Signal // and any Signal changes will call Effect dependency automatically - log::debug!("A"); self.cleanup(id); - log::debug!("B"); - // add it to the Scope stack, which means any signals called // in the effect fn immediately below will add this Effect as a dependency self.runtime.push_stack(Subscriber::Effect(id)); - log::debug!("C"); - // actually run the effect let curr = { self.value.borrow_mut().take() }; - log::debug!("D"); let v = { (self.f.borrow_mut())(curr) }; - log::debug!("E"); - *self.value.borrow_mut() = Some(v); - log::debug!("F"); - // pop it back off the stack self.runtime.pop_stack(); - log::debug!("G"); } fn subscribe_to(&self, source: Source) {