Skip to content

Commit 751e0d6

Browse files
committed
fix ref_count bug
1 parent 3083bcd commit 751e0d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/store/fs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ impl entity_manager::Params for HashContext {
225225
}
226226

227227
fn ref_count(&self) -> usize {
228-
self.state.receiver_count() + self.state.receiver_count()
228+
self.state.sender_count() + self.state.receiver_count()
229229
}
230230

231231
fn new(id: &Self::EntityId, global: &Self::GlobalState) -> Self {

0 commit comments

Comments
 (0)