You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "tswstarplanet (GitHub)" <gi...@apache.org> on 2020/03/08 05:40:02 UTC

[GitHub] [dubbo] tswstarplanet commented on issue #5813: destroyAll method of DubboShutdownHook will be invoke twice when using spring framework

@chickenlj I think pr 5814 is right. And I test it, it works. It's because it can ensure the 
```java
        // for compatibility purpose
        DubboShutdownHook.destroyAll();
```

can be strictly be invoked before these
```java
            unregisterServiceInstance();
            unexportMetadataService();
            unexportServices();
            unreferServices();

            destroyRegistries();
            destroyProtocols();
            destroyServiceDiscoveries();

            clear();
            shutdown();
            release();
```

[ Full content available at: https://github.com/apache/dubbo/issues/5813 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org