We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c90ab43 commit 0b4b3caCopy full SHA for 0b4b3ca
libsql/src/hrana/stream.rs
@@ -445,7 +445,8 @@ where
445
T: HttpSend,
446
{
447
fn drop(&mut self) {
448
- if let Some(baton) = self.baton.borrow_mut().take() {
+ let baton = self.baton.get_mut().take();
449
+ if let Some(baton) = baton {
450
// only send a close request if stream was ever used to send the data
451
tracing::trace!("closing client stream (baton: `{}`)", baton);
452
let req = serde_json::to_string(&PipelineReqBody {
0 commit comments