fix Infinite recursion inner 2005 (#3498)

This commit is contained in:
ylinzhu
2022-11-29 13:21:08 +08:00
committed by lin
parent 63bf359c41
commit 177f4a38d8

View File

@@ -101,6 +101,7 @@ public class KillConnectionHandler implements ResponseHandler {
@Override
public void connectionClose(@NotNull AbstractService service, String reason) {
AlertUtil.alertSelf(AlarmCode.KILL_BACKEND_CONN_FAIL, Alert.AlertLevel.NOTICE, "get killer connection " + service.toString() + " failed: connectionClosed", null);
toKilled.getBackendService().setResponseHandler(null);
toKilled.close("exception:" + reason);
}
}