restore lifetime checking for signals

This commit is contained in:
Evan Almloff committed 2024-03-08 10:32:57 -06:00
1 parent 295c29db5d
commit 60a84956d1
16 files changed
+275 -148

No files matched your search

+1 -2
View File
@@ -128,8 +128,7 @@ impl ReactiveContext {
///
/// Returns true if the context was marked as dirty, or false if the context has been dropped
pub fn mark_dirty(&self) -> bool {
let mut copy = self.inner;
if let Ok(mut self_write) = copy.try_write() {
if let Ok(mut self_write) = self.inner.try_write_unchecked() {
#[cfg(debug_assertions)]
{
tracing::trace!(