SoulPancake commented on issue #13615: URL: https://github.com/apache/dubbo/issues/13615#issuecomment-1879117503
Let's add a reference counter to track how many ApplicationModels are using it. We'll increase the count when an ApplicationModel starts and decrease it when one is destroyed. Then, in the destroy method, we only shut down executorService if the counter is at zero, ensuring it stays active while still needed. @huangqy17 @AlbumenJ -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
