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

Add D2D1TransformMapper<T> GC collect unit test #506

Merged
merged 1 commit into from
Apr 19, 2023

Conversation

Sergio0694
Copy link
Owner

Description

This PR adds a unit test for the GC collection logic for D2D1TransformMapper<T>. In particular, this validates that the RCW and CCW won't mutually keep each other alive if there are no other references to either of them. That is, the CCW should instead reset its GC handle back to the RCW if the only reference to it is the one from the RCW.

@Sergio0694 Sergio0694 added the unit tests 🧪 Proposals or improvements to the unit tests suite label Apr 19, 2023
@Sergio0694 Sergio0694 merged commit ffb5cef into main Apr 19, 2023
@Sergio0694 Sergio0694 deleted the dev/add-d2d1transformmapper-collect-test branch April 19, 2023 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
unit tests 🧪 Proposals or improvements to the unit tests suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant