Skip to content

Commit

Permalink
fix disconnect bug
Browse files Browse the repository at this point in the history
  • Loading branch information
borngraced committed Oct 10, 2024
1 parent 052ea1d commit 17b1e31
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pairing_api/src/pairing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,12 @@ impl PairingClient {
};
}

self.delete(topic, client).await?;
{
client
.unsubscribe(topic.into())
.await
.map_err(PairingClientError::SubscriptionError)?;
};

Ok(())
}
Expand Down

0 comments on commit 17b1e31

Please sign in to comment.