You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2021/01/20 17:42:22 UTC

[GitHub] [bookkeeper] rudy2steiner commented on a change in pull request #2542: Check np for LifecycleComponent close

rudy2steiner commented on a change in pull request #2542:
URL: https://github.com/apache/bookkeeper/pull/2542#discussion_r561153806



##########
File path: stream/server/src/main/java/org/apache/bookkeeper/stream/server/service/RegistrationStateService.java
##########
@@ -95,6 +95,10 @@ protected void doStart() {
 
     @Override
     protected void doStop() {
+        if (null == stateManager) {
+            log.warn("State Manager is null, no need to stop it.");

Review comment:
       yes




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org