Skip to content

Commit

Permalink
fix(java-client): fix client thread leak when kerberos relogin failed
Browse files Browse the repository at this point in the history
  • Loading branch information
yujingwei committed Apr 12, 2024
1 parent 89d9712 commit 8ee0ba1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public boolean onSendMessage(ReplicaSession session, final ReplicaSession.Reques
return true;
}

public void close(){
public void close() {
for (ReplicaSessionInterceptor interceptor : interceptors) {
interceptor.close();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public boolean onSendMessage(ReplicaSession session, final ReplicaSession.Reques
return protocol.isAuthRequest(entry) || !session.tryPendRequest(entry);
}

public void close(){
public void close() {
protocol.close();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ public AppConfigurationEntry[] getAppConfigurationEntry(String name) {
};
}

public void close(){
public void close() {
service.shutdown();
}
}

0 comments on commit 8ee0ba1

Please sign in to comment.