Skip to content

Commit

Permalink
🐛 destory xds exchanger null (#13086)
Browse files Browse the repository at this point in the history
  • Loading branch information
songxiaosheng authored Sep 26, 2023
1 parent 4146082 commit 26174f0
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ public void doInitialize(URL registryURL) {
@Override
public void doDestroy() {
try {
if (exchanger == null) {
return;
}
exchanger.destroy();
} catch (Throwable t) {
logger.error(REGISTRY_ERROR_INITIALIZE_XDS, "", "", t.getMessage(), t);
Expand Down

0 comments on commit 26174f0

Please sign in to comment.