iwangjie commented on issue #14479:
URL: https://github.com/apache/dubbo/issues/14479#issuecomment-2257989811

   After experimenting, if I add a new lineRemove old listeners from 
serviceListeners. Is it right to do so?
   
   ```java
    if (!oldListener.hasListeners()) {
         oldListener.destroy();
         // Remove old listeners from serviceListeners
         serviceListeners.remove(appKey);
         removeAppSubscriptionLock(appKey);
     }
   ```


-- 
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.

To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org
For additional commands, e-mail: notifications-h...@dubbo.apache.org

Reply via email to