Skip to content

[v13] Prevent ConnectionMonitor leaks#36669

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

[v13] Prevent ConnectionMonitor leaks#36669
rosstimothy merged 1 commit intobranch/v13from
bot/backport-36621-branch/v13

Conversation

@rosstimothy
Copy link
Copy Markdown
Contributor

Backport #36621 to branch/v13

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 force-pushed the bot/backport-36621-branch/v13 branch from cd78951 to 2cb5fe4 Compare January 13, 2024 14:35
@rosstimothy rosstimothy added this pull request to the merge queue Jan 16, 2024
Merged via the queue into branch/v13 with commit c15b444 Jan 16, 2024
@rosstimothy rosstimothy deleted the bot/backport-36621-branch/v13 branch January 16, 2024 14:26
@camscale camscale mentioned this pull request Feb 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