Skip to content

Commit

Permalink
fix: invoker deactivation should be destroyed (apache#5858)
Browse files Browse the repository at this point in the history
  • Loading branch information
HugeSkull authored Mar 13, 2020
1 parent 61d1ba7 commit dc21cac
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@ private T createProxy(Map<String, String> map) {
}

if (shouldCheck() && !invoker.isAvailable()) {
invoker.destroy();
throw new IllegalStateException("Failed to check the status of the service "
+ interfaceName
+ ". No provider available for the service "
Expand Down

0 comments on commit dc21cac

Please sign in to comment.