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

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


The following commit(s) were added to refs/heads/3.0 by this push:
     new 4195838c68 fix_delete_error_exporter (#10383)
4195838c68 is described below

commit 4195838c68b6b5b5d183b7d3b2dcf5e7d83d919c
Author: Owen.Cai <[email protected]>
AuthorDate: Fri Jul 29 11:41:41 2022 +0800

    fix_delete_error_exporter (#10383)
---
 .../main/java/org/apache/dubbo/rpc/protocol/dubbo/DubboExporter.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/dubbo-rpc/dubbo-rpc-dubbo/src/main/java/org/apache/dubbo/rpc/protocol/dubbo/DubboExporter.java
 
b/dubbo-rpc/dubbo-rpc-dubbo/src/main/java/org/apache/dubbo/rpc/protocol/dubbo/DubboExporter.java
index 3ad06ccc5d..28099ea355 100644
--- 
a/dubbo-rpc/dubbo-rpc-dubbo/src/main/java/org/apache/dubbo/rpc/protocol/dubbo/DubboExporter.java
+++ 
b/dubbo-rpc/dubbo-rpc-dubbo/src/main/java/org/apache/dubbo/rpc/protocol/dubbo/DubboExporter.java
@@ -40,7 +40,7 @@ public class DubboExporter<T> extends AbstractExporter<T> {
 
     @Override
     public void afterUnExport() {
-        exporterMap.remove(key);
+        exporterMap.remove(key, this);
     }
 
 }

Reply via email to