Skip to content

[v14] Prevent ConnectionMonitor leaks#36668

Merged
rosstimothy merged 1 commit intobranch/v14from
bot/backport-36621-branch/v14
Jan 16, 2024
Merged

[v14] Prevent ConnectionMonitor leaks#36668
rosstimothy merged 1 commit intobranch/v14from
bot/backport-36621-branch/v14

Conversation

@rosstimothy
Copy link
Copy Markdown
Contributor

Backport #36621 to branch/v14

changelog: Prevent a goroutine leak caused by app sessions not cleaning up resources properly

The context used to create the connection monitor for app sessions
was never canceled which left the connection monitor running until
the certificate expired, the user was locked, or the idle timeout
was enforced. By using the correct context and canceling appropriately
the monitor is terminated as soon as the app session has concluded.
@rosstimothy rosstimothy enabled auto-merge January 16, 2024 14:10
@rosstimothy rosstimothy added this pull request to the merge queue Jan 16, 2024
Merged via the queue into branch/v14 with commit 523f4c7 Jan 16, 2024
@rosstimothy rosstimothy deleted the bot/backport-36621-branch/v14 branch January 16, 2024 14:48
This was referenced Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants