We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0d8ef5f + ab8a7cc commit 20f0385Copy full SHA for 20f0385
1 file changed
src/commands.rs
@@ -651,7 +651,6 @@ pub async fn subscribe(
651
// Spawn task to forward stream events to the Tauri Channel
652
let sub_id = subscription_id.clone();
653
let db_path = db.clone();
654
- let active_subs_clone = active_subs.inner().clone();
655
656
let handle = tokio::spawn(async move {
657
while let Some(event) = stream.next().await {
@@ -663,8 +662,6 @@ pub async fn subscribe(
663
662
}
664
665
666
- // Clean up subscription when stream ends
667
- active_subs_clone.remove(&sub_id).await;
668
debug!("Subscription {} for db {} ended", sub_id, db_path);
669
});
670
0 commit comments