Skip to content

Commit

Permalink
Fix devconsole
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartwdouglas committed Apr 13, 2021
1 parent d984018 commit 368dccc
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,17 +135,17 @@ public static void initializeVirtual() {
@Override
public void run() {
virtualBootstrap = null;
if (devConsoleVertx != null) {
devConsoleVertx.close();
devConsoleVertx = null;
}
if (channel != null) {
try {
channel.close().sync();
} catch (InterruptedException e) {
throw new RuntimeException("failed to close virtual http");
}
}
if (devConsoleVertx != null) {
devConsoleVertx.close();
devConsoleVertx = null;
}
}
});
virtualBootstrap = new ServerBootstrap();
Expand Down

0 comments on commit 368dccc

Please sign in to comment.