Fix mem leak #324

Merged
dstepanov-yadro merged 1 commit from dstepanov-yadro/frostfs-sdk-go:fix/client_mem_leak into master 2025-01-29 14:22:31 +00:00

Correctly stop timer and cancel context.

Correctly stop timer and cancel context.
dstepanov-yadro added 1 commit 2025-01-29 13:33:58 +00:00
[#9999] rpc: Fix mem leak
All checks were successful
DCO / DCO (pull_request) Successful in 26s
Code generation / Generate proto (pull_request) Successful in 34s
Tests and linters / Tests (pull_request) Successful in 45s
Tests and linters / Lint (pull_request) Successful in 2m45s
a455ba2f7b
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
requested reviews from storage-core-committers, storage-core-developers, storage-services-committers, storage-services-developers 2025-01-29 13:33:58 +00:00
dstepanov-yadro force-pushed fix/client_mem_leak from a455ba2f7b to d195cb5104 2025-01-29 13:34:59 +00:00 Compare
fyrchik reviewed 2025-01-29 13:46:00 +00:00
@ -62,3 +63,3 @@
// which is not desired for the stream's lifecycle management.
dialTimeoutTimer := time.NewTimer(c.dialTimeout)
defer dialTimeoutTimer.Stop()
defer func() {
Owner

So we were ahead of time!

So we were ahead of time!
fyrchik approved these changes 2025-01-29 13:46:04 +00:00
a-savchuk approved these changes 2025-01-29 13:46:43 +00:00
aarifullin approved these changes 2025-01-29 14:01:56 +00:00
dstepanov-yadro merged commit d195cb5104 into master 2025-01-29 14:22:31 +00:00
dstepanov-yadro referenced this pull request from a commit 2025-01-29 14:22:33 +00:00
dstepanov-yadro deleted branch fix/client_mem_leak 2025-01-29 14:22:33 +00:00
fyrchik referenced this pull request from a commit 2025-01-29 15:25:55 +00:00
Sign in to join this conversation.
No reviewers
TrueCloudLab/storage-services-committers
TrueCloudLab/storage-services-developers
No milestone
No project
No assignees
4 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-sdk-go#324
No description provided.