You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by li...@apache.org on 2020/03/13 06:17:12 UTC
[dubbo] branch master updated: fix: invoker deactivation should be
destroyed (#5858)
This is an automated email from the ASF dual-hosted git repository.
liujun 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 dc21cac fix: invoker deactivation should be destroyed (#5858)
dc21cac is described below
commit dc21cacc84367881dee76e033e40de5a874b68c5
Author: Binbin Guo <hu...@163.com>
AuthorDate: Fri Mar 13 14:16:58 2020 +0800
fix: invoker deactivation should be destroyed (#5858)
---
.../src/main/java/org/apache/dubbo/config/ReferenceConfig.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/ReferenceConfig.java b/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/ReferenceConfig.java
index be8f448..7a52a62 100644
--- a/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/ReferenceConfig.java
+++ b/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/ReferenceConfig.java
@@ -337,6 +337,7 @@ public class ReferenceConfig<T> extends ReferenceConfigBase<T> {
}
if (shouldCheck() && !invoker.isAvailable()) {
+ invoker.destroy();
throw new IllegalStateException("Failed to check the status of the service "
+ interfaceName
+ ". No provider available for the service "