add a null check for safety
This commit is contained in:
parent
a048f8944b
commit
2be1a09c77
|
@ -177,7 +177,9 @@ public class Bootstrap {
|
|||
|
||||
private void stop() {
|
||||
try {
|
||||
node.close();
|
||||
if (node != null) {
|
||||
node.close();
|
||||
}
|
||||
} finally {
|
||||
keepAliveLatch.countDown();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue