Skip to content

Conversation

@Qard
Copy link
Member

@Qard Qard commented May 27, 2025

This makes it so each instance of Embed holds an Arc so that the underlying SAPI may be dropped when there are no more Embeds. A Weak is held to attempt to upgrade an existing SAPI for any future Embed constructions, but will construct a new SAPI any time one is unavailable via the Weak.

This makes it so each instance of Embed holds an Arc so that the
underlying SAPI may be dropped when there are no more Embeds.
A Weak is held to attempt to upgrade an existing SAPI for any
future Embed constructions, but will construct a new SAPI any time
one is unavailable via the Weak.
@Qard Qard added the bug Something isn't working label May 27, 2025
@Qard Qard force-pushed the fix-shutdown-cleanup branch 2 times, most recently from d6c0172 to bc53dd3 Compare May 27, 2025 10:53
@Qard Qard force-pushed the fix-shutdown-cleanup branch from bc53dd3 to 1a44725 Compare May 27, 2025 10:56
@Qard Qard merged commit 734f144 into main May 27, 2025
11 checks passed
@simone-sanfratello simone-sanfratello deleted the fix-shutdown-cleanup branch May 27, 2025 11:48
Qard added a commit that referenced this pull request May 27, 2025
Qard added a commit that referenced this pull request May 27, 2025
@Qard Qard restored the fix-shutdown-cleanup branch May 28, 2025 09:56
Qard added a commit that referenced this pull request May 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants