zrlw commented on PR #15457:
URL: https://github.com/apache/dubbo/pull/15457#issuecomment-2994841170

   > How can I make this PR example code pass the test without any exceptions?
   No, you couldn't because this is by design, at least for now.
   the simplest way might be destroying all your application models to empty  
```pubApplicationModels``` of ```FrameworkModel``` before stop the bootstrap:
   ```
           //  if you have other application models, destroy all of them like 
this.
           ApplicationModel.defaultModel().destroy();
           // then stop the bootstrap.
           bootstrap.stop();
   ```
   
   


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

Reply via email to