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() {
|
private void stop() {
|
||||||
try {
|
try {
|
||||||
|
if (node != null) {
|
||||||
node.close();
|
node.close();
|
||||||
|
}
|
||||||
} finally {
|
} finally {
|
||||||
keepAliveLatch.countDown();
|
keepAliveLatch.countDown();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue