Skip to content

Commit

Permalink
doesn't fix ice
Browse files Browse the repository at this point in the history
  • Loading branch information
najamelan committed Sep 24, 2019
1 parent fa9b467 commit 8b1db4c
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/pharos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -266,14 +266,11 @@ impl<Event> Sink<Event> for Pharos<Event> where Event: Clone + 'static + Send
{
match Pin::new( obs ).poll_flush( cx )
{
Poll::Pending => pending = true ,
Poll::Ready(Ok()) => continue ,
Poll::Pending => {} ,
Poll::Ready(Ok()) => {} ,

Poll::Ready(Err(_)) =>
{
this.free_slots.push( i );

*opt = None;
}
}
}
Expand Down

0 comments on commit 8b1db4c

Please sign in to comment.