When I use management.server.port config,the ApplicationContext created in DifferentManagementContextConfiguration will refresh and publish ApplicationEvents to my root ApplicationContext,which will trigger some incompatible logic。

Is there any way to disable the ApplicationEvent published to parent when I use management.server.port?