You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by al...@apache.org on 2021/03/02 14:26:23 UTC

[dubbo] branch master updated: fix #7302 DubboBootstrap.destroy calls DubboShutdownHook.destroyProtocols repeatedly (#7303)

This is an automated email from the ASF dual-hosted git repository.

albumenj pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo.git


The following commit(s) were added to refs/heads/master by this push:
     new 497647b  fix #7302 DubboBootstrap.destroy calls DubboShutdownHook.destroyProtocols repeatedly (#7303)
497647b is described below

commit 497647bf11f7451730ea4a4b754fa19aae3ec9de
Author: xiaoheng1 <20...@qq.com>
AuthorDate: Tue Mar 2 22:26:12 2021 +0800

    fix #7302 DubboBootstrap.destroy calls DubboShutdownHook.destroyProtocols repeatedly (#7303)
---
 .../src/main/java/org/apache/dubbo/config/bootstrap/DubboBootstrap.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/bootstrap/DubboBootstrap.java b/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/bootstrap/DubboBootstrap.java
index c53ae16..a6abda9 100644
--- a/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/bootstrap/DubboBootstrap.java
+++ b/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/bootstrap/DubboBootstrap.java
@@ -1266,7 +1266,7 @@ public class DubboBootstrap extends GenericEventListener {
                     unreferServices();
 
                     destroyRegistries();
-                    DubboShutdownHook.destroyProtocols();
+
                     destroyServiceDiscoveries();
                     destroyExecutorRepository();
                     clear();