Skip to content

fix: Defer resource usage cleanup until the very end - #3042

Merged
MarcoPolo merged 1 commit into
masterfrom
marco/defer-scope-done
Nov 18, 2024
Merged

MarcoPolo merged 1 commit into
masterfrom
marco/defer-scope-done

Conversation

@MarcoPolo

Copy link
Copy Markdown
Collaborator

There is a slight race condition when resource accounting the closed connection. We should update the state in the resource manager after the connection is closed.

We do this correctly everywhere else. These are the exceptions.

@MarcoPolo
MarcoPolo requested a review from sukunrt November 14, 2024 22: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.

2 participants