Skip to content

Improve disposal logic in AsyncWebsocketMessageResultEnumerator to prevent multiple disposals #527

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

Merged
merged 2 commits into from
Jul 10, 2025

Conversation

jsquire
Copy link
Collaborator

@jsquire jsquire commented Jul 10, 2025

Summary

The focus of this change is to reapply the logic from #476 that got inadvertently stomped during the last upstream sync.

…event multiple disposals (openai#476)

* Improve disposal logic in AsyncWebsocketMessageResultEnumerator to prevent multiple disposals

* fb

* Update src/Custom/RealtimeConversation/Internal/AsyncWebsocketMessageEnumerator.cs

Co-authored-by: Stephen Toub <[email protected]>

---------

Co-authored-by: Stephen Toub <[email protected]>
@jsquire
Copy link
Collaborator Author

jsquire commented Jul 10, 2025

//cc: @christothes

@jsquire jsquire mentioned this pull request Jul 10, 2025
@jsquire jsquire merged commit 1e5da07 into openai:main Jul 10, 2025
1 check passed
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