Fix from review

use the new close(Throwable) in endpoint
This commit is contained in:
Greg Wilkins 2019-02-17 18:11:23 +09:00 committed by GitHub
parent 3d096c9e99
commit a4a6bd03e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

View File

@ -263,10 +263,7 @@ public class FrameFlusher extends IteratingCallback
entry.release();
}
entries.clear();
if (endPoint instanceof AbstractEndPoint)
((AbstractEndPoint)endPoint).close(failure);
else
endPoint.close();
endPoint.close(failure);
}
private void releaseAggregate()