Skip to content

Commit 8b1db4c

Browse files
committed
doesn't fix ice
1 parent fa9b467 commit 8b1db4c

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/pharos.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -266,14 +266,11 @@ impl<Event> Sink<Event> for Pharos<Event> where Event: Clone + 'static + Send
266266
{
267267
match Pin::new( obs ).poll_flush( cx )
268268
{
269-
Poll::Pending => pending = true ,
270-
Poll::Ready(Ok()) => continue ,
269+
Poll::Pending => {} ,
270+
Poll::Ready(Ok()) => {} ,
271271

272272
Poll::Ready(Err(_)) =>
273273
{
274-
this.free_slots.push( i );
275-
276-
*opt = None;
277274
}
278275
}
279276
}

0 commit comments

Comments
 (0)