Skip to content

fix(rest): avoid default catalog reference cycle#764

Merged
wgtmac merged 1 commit into
apache:mainfrom
lishuxu:fix/memfix
Jun 20, 2026
Merged

fix(rest): avoid default catalog reference cycle#764
wgtmac merged 1 commit into
apache:mainfrom
lishuxu:fix/memfix

Conversation

@lishuxu

@lishuxu lishuxu commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Store the cached default catalog view as a weak_ptr so AsCatalog() can reuse a live view without keeping it alive from the RestCatalog root.

Store the cached default catalog view as a weak_ptr so AsCatalog() can
reuse a live view without keeping it alive from the RestCatalog root.

@wgtmac wgtmac left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

@wgtmac wgtmac merged commit e9a68b7 into apache:main Jun 20, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants