Skip to content
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

Fix executor.Execute Close and test FD leaks #658

Merged
merged 1 commit into from
Jul 27, 2021

Conversation

varas
Copy link
Contributor

@varas varas commented Jul 26, 2021

After executor.Execute() calls OutputSend.Close() there are a couple channels that might be handled out of the Execute() context, I noted these down on the test code.
It'd be nice to build a larger scope leak test covering those too.

@varas varas requested a review from a team July 26, 2021 07:03
@varas varas added bug Categorizes issue or PR as related to a bug. do-not-merge labels Jul 26, 2021
@varas varas force-pushed the fix_executor-goroutine-leak branch 2 times, most recently from 03ad48e to 55430c2 Compare July 26, 2021 08:43
@varas varas removed bug Categorizes issue or PR as related to a bug. do-not-merge labels Jul 26, 2021
@varas varas changed the title fix: executor leaked goroutine Test executor.Execute FD leaks Jul 26, 2021
@varas varas changed the title Test executor.Execute FD leaks Fix executor.Execute FD leaks Jul 26, 2021
@varas varas changed the title Fix executor.Execute FD leaks Fix executor.Execute Close and test FD leaks Jul 26, 2021
brushknight
brushknight previously approved these changes Jul 26, 2021
Copy link
Contributor

@brushknight brushknight left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@varas varas force-pushed the fix_executor-goroutine-leak branch 5 times, most recently from 82d8c17 to e6194a1 Compare July 27, 2021 06:37
@varas varas force-pushed the fix_executor-goroutine-leak branch from e6194a1 to f8f6a20 Compare July 27, 2021 06:46
@rubenruizdegauna rubenruizdegauna merged commit 6787a31 into master Jul 27, 2021
@rubenruizdegauna rubenruizdegauna deleted the fix_executor-goroutine-leak branch July 27, 2021 08:32
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.

None yet

3 participants