Why do you remove ' context.registerShutdownHook()'?
I think it may be cause some issues in non-web application because no
ContextClosedEvent
that it is generated by stop() method will be published .
Maybe we need to write a demo to verify this doubt.

Refer to :
https://www.concretepage.com/spring/registershutdownhook_spring
https://netjs.blogspot.com/2018/03/registershutdownhook-method-in-spring.html


ken.lj <[email protected]> 于2018年11月5日周一 上午10:49写道:

> Merged #2725 <https://github.com/apache/incubator-dubbo/pull/2725> into
> master.
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/apache/incubator-dubbo/pull/2725#event-1945207258>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AD5mbL-JNUjr5RwKAzPKP3HEFtf-8Tx3ks5ur6dTgaJpZM4YGFHj>
> .
>


-- 

Best Regard!
cvitory


[ Full content available at: 
https://github.com/apache/incubator-dubbo/pull/2725 ]
This message was relayed via gitbox.apache.org for 
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to