Skip to content

Conversation

@jordan-turbofish
Copy link
Collaborator

This test was originally written to test the static DriverState, in which case we needed to leak the shared_ptr to test the destructor. When using the object directly, we can just limit its scope so it is destructed before the shared_ptr.

@jordan-turbofish jordan-turbofish marked this pull request as draft November 19, 2025 23:41
@jordan-turbofish jordan-turbofish force-pushed the jpatters/stream-destructor-text-update branch from da4595f to 18c61d2 Compare November 19, 2025 23:42
@jordan-turbofish jordan-turbofish force-pushed the jpatters/stream-destructor-text-update branch from 18c61d2 to 3d0d1cf Compare November 20, 2025 15:40
@jordan-turbofish jordan-turbofish marked this pull request as ready for review November 20, 2025 20:27
@jordan-turbofish jordan-turbofish force-pushed the jpatters/stream-destructor-text-update branch from 3d0d1cf to 45215c3 Compare November 20, 2025 20:27
@jordan-turbofish jordan-turbofish merged commit 5bed749 into develop Nov 20, 2025
53 of 54 checks passed
@jordan-turbofish jordan-turbofish deleted the jpatters/stream-destructor-text-update branch November 20, 2025 20:41
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.

3 participants