Skip to content

Enforce that Handle is dropped once#241

Merged
waynemwashuma merged 3 commits into
wimaengine:devfrom
waynemwashuma:enforce-single-handle-drop
Aug 27, 2025
Merged

Enforce that Handle is dropped once#241
waynemwashuma merged 3 commits into
wimaengine:devfrom
waynemwashuma:enforce-single-handle-drop

Conversation

@waynemwashuma
Copy link
Copy Markdown
Collaborator

@waynemwashuma waynemwashuma commented Aug 27, 2025

Objective

Enhances the asset management by modifying Handles to only decrement its asset internal reference count once ensuring that the asset does not drop prematurely when handle is dropped multiple times. The changes made improve safety and reliability of the asset system.

Solution

N/A

Showcase

N/A

Migration guide

If you depended on the behaviour that a handle can be dropped more than once, ensure you no longer rely on that behaviour.

Checklist

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.

@waynemwashuma waynemwashuma self-assigned this Aug 27, 2025
@waynemwashuma waynemwashuma merged commit b359b76 into wimaengine:dev Aug 27, 2025
5 checks passed
@waynemwashuma waynemwashuma deleted the enforce-single-handle-drop branch August 27, 2025 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant