huangqy17 commented on issue #13615: URL: https://github.com/apache/dubbo/issues/13615#issuecomment-1880306682
> 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 这样不行,如果靠计数为0就shutdown,后面我又启了一个applicationModel,再次传入这个frameworkmodel的executorservice,发现是terminated,仍是执行不了刷新cache -- 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]
