fix on_id widget refcount leak (-> memory leak)

This commit is contained in:
iris committed 2025-12-04 02:59:05 -05:00
1 parent 84c460a91f
commit e5d0a7e592
6 files changed
+74 -130

No files matched your search

+3
View File
@@ -17,6 +17,9 @@ impl RefCounter {
let refs = self.0.fetch_sub(1, Ordering::Release);
refs == 0
}
pub fn quiet_clone(&self) -> Self {
Self(self.0.clone())
}
}
impl Clone for RefCounter {