FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix BGridView holder ownership by cyberman · Pull Request #22 · coolcoder613eb/Haiku-PyAPI · GitHub

Repository navigation

Fix BGridView holder ownership - #22

Open
cyberman wants to merge 1 commit into
coolcoder613eb:mainfrom
Be-Quiet-Home:fix-bgridview-holder-ownership
Open

cyberman wants to merge 1 commit into
coolcoder613eb:mainfrom
Be-Quiet-Home:fix-bgridview-holder-ownership

Conversation

cyberman commented Jul 28, 2026 •
edited
Loading

Copy link
Copy Markdown

Problem

An attached BGridView is owned and destroyed by its BWindow, while the Python wrapper still retains deletion responsibility.

Releasing the wrapper can therefore attempt a second deletion during finalization.

Fix

Bind BGridView with a py::nodelete holder.

Validation

Verified that window shutdown and Python finalization complete cleanly for an attached BGridView.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL