-
Couldn't load subscription status.
- Fork 144
Open
Description
ipc-channel/src/platform/inprocess/mod.rs
Lines 130 to 134 in c8d07cf
| impl PartialEq for OsIpcSender { | |
| fn eq(&self, other: &OsIpcSender) -> bool { | |
| eq( | |
| &*self.sender.borrow() as *const _, | |
| &*other.sender.borrow() as *const _, |
When cloning the OsIpcSender, we will clone the refcell and inner sender, hence two senders of the same channel will compare as false, if they are not the same instance.
This might be a bit tricky to fix though, since the crossbeam sender does not implement PartialEq.
Metadata
Metadata
Assignees
Labels
No labels