fix on_id widget refcount leak (-> memory leak)
This commit is contained in:
1 parent
84c460a91f
commit
e5d0a7e592
6 files changed
+74
-130
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user