aboutsummaryrefslogtreecommitdiffstats
path: root/jabber/src/jabber_stream/bound_stream.rs
diff options
context:
space:
mode:
Diffstat (limited to 'jabber/src/jabber_stream/bound_stream.rs')
-rw-r--r--jabber/src/jabber_stream/bound_stream.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/jabber/src/jabber_stream/bound_stream.rs b/jabber/src/jabber_stream/bound_stream.rs
index c0d67b0..627158a 100644
--- a/jabber/src/jabber_stream/bound_stream.rs
+++ b/jabber/src/jabber_stream/bound_stream.rs
@@ -63,6 +63,7 @@ where
if let Some(_write_handle) = this.write_handle {
panic!("start_send called without poll_ready")
} else {
+ // TODO: switch to buffer of one rather than thread spawning and joining
*this.write_handle = Some(tokio::spawn(write(this.writer.clone(), item)));
Ok(())
}