Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
1412 fixed compile error after merge
  • Loading branch information
MiErnst committed Jul 6, 2017
commit 3bb5ae475706a305ea84e32b9e7afafbac0b8ef9
Original file line number Diff line number Diff line change
Expand Up @@ -322,13 +322,12 @@ public void close() {
if (allowReleaseEventLoopGroup) {
eventLoopGroup.shutdownGracefully(config.getShutdownQuietPeriod(), config.getShutdownTimeout(), TimeUnit.MILLISECONDS)//
.addListener(future -> doClose());
} else {
} else
doClose();

try {
closeLatch.await(config.getShutdownTimeout(), TimeUnit.MILLISECONDS);
}
catch (InterruptedException e) {
} catch (InterruptedException e) {
// Ignore
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-assert interrupted status

}
}
Expand Down