Skip to content

Commit

Permalink
Merge pull request #88 from rhusar/39-NPE
Browse files Browse the repository at this point in the history
Resolves #39: Occasional NPE on shutdown: remove unnecessary nulling …
  • Loading branch information
belaban committed Jan 22, 2020
2 parents 4ceb9e7 + afd6e55 commit e409b5e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/main/java/org/jgroups/protocols/kubernetes/KUBE_PING.java
Original file line number Diff line number Diff line change
Expand Up @@ -193,11 +193,6 @@ private boolean isPropertyDefined(String property_name) {
|| System.getenv(property_name) != null;
}

@Override public void destroy() {
client=null;
super.destroy();
}

private PhysicalAddress getCurrentPhysicalAddress(Address addr) {
return (PhysicalAddress)down(new Event(Event.GET_PHYSICAL_ADDRESS, addr));
}
Expand Down

0 comments on commit e409b5e

Please sign in to comment.