From: Matthieu Date: Mon, 20 Sep 2021 05:15:59 +0000 (+0400) Subject: fix stream & actions X-Git-Tag: v0.1~64^2^2~5 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=84e99818450db8d12dbbcca9d8acacd2794ccc5c;p=matthieu%2Fnova.git fix stream & actions --- diff --git a/gateway/src/connection/stream.rs b/gateway/src/connection/stream.rs index dbfab60..767feec 100644 --- a/gateway/src/connection/stream.rs +++ b/gateway/src/connection/stream.rs @@ -50,7 +50,7 @@ impl Stream for Connection { Poll::Pending => Poll::Pending, } } else { - Poll::Pending + Poll::Ready(None) } } } diff --git a/gateway/src/shard/connection.rs b/gateway/src/shard/connection.rs index 88ff0f3..0d66286 100644 --- a/gateway/src/shard/connection.rs +++ b/gateway/src/shard/connection.rs @@ -188,9 +188,7 @@ impl Shard { session_id: ready.session_id.clone(), }); } - Dispatch::Other(data) => { - - } + Dispatch::Other(data) => { } } } }