mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-23 04:33:06 +00:00
fix removing debug borrow information when the ref is dropped
This commit is contained in:
parent
6ed5df644e
commit
93adb35cfa
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ impl Drop for GenerationalRefBorrowInfo {
|
|||
self.borrowed_from
|
||||
.borrowed_at
|
||||
.write()
|
||||
.retain(|location| std::ptr::eq(*location, self.borrowed_at as *const _));
|
||||
.retain(|location| !std::ptr::eq(*location, self.borrowed_at as *const _));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue