Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only dispose controller if it is not owned by parent #159

Merged
merged 1 commit into from
May 26, 2024

Conversation

lukehutch
Copy link

Only dispose controller if it is not owned by parent. Fixes #153.

Copy link

codecov bot commented May 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.37%. Comparing base (70c960e) to head (2e2aaf7).
Report is 30 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #159      +/-   ##
==========================================
- Coverage   81.48%   81.37%   -0.12%     
==========================================
  Files          31       31              
  Lines        1626     1648      +22     
==========================================
+ Hits         1325     1341      +16     
- Misses        301      307       +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Owner

@jb3rndt jb3rndt left a comment

Choose a reason for hiding this comment

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

Thanks 👍

@jb3rndt jb3rndt merged commit 866738f into jb3rndt:master May 26, 2024
6 of 7 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.

[Bug]: PersistentTabView.dispose unconditionally disposes the controller
2 participants