fix: use correct sub_id when deleting remote sub!!!

This commit is contained in:
dr-frmr 2024-05-13 20:53:47 -06:00
parent 9bf03dd545
commit 7994cd6687
No known key found for this signature in database

View File

@ -428,7 +428,7 @@ async fn maintain_remote_subscription(
active_subscriptions active_subscriptions
.entry(target.clone()) .entry(target.clone())
.and_modify(|sub_map| { .and_modify(|sub_map| {
sub_map.remove(&sub_id); sub_map.remove(&remote_sub_id);
}); });
response_channels.remove(&keepalive_km_id); response_channels.remove(&keepalive_km_id);
e e