Skip to content

Commit

Permalink
Fixes ICE
Browse files Browse the repository at this point in the history
  • Loading branch information
najamelan committed Sep 24, 2019
1 parent 8b1db4c commit 02ce58d
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/pharos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -264,15 +264,7 @@ impl<Event> Sink<Event> for Pharos<Event> where Event: Clone + 'static + Send
{
if let Some( ref mut obs ) = opt
{
match Pin::new( obs ).poll_flush( cx )
{
Poll::Pending => {} ,
Poll::Ready(Ok()) => {} ,

Poll::Ready(Err(_)) =>
{
}
}
Pin::new( obs ).poll_flush( cx );
}
}

Expand Down

0 comments on commit 02ce58d

Please sign in to comment.