-
Notifications
You must be signed in to change notification settings - Fork 3.3k
fix: flow graph should free function resource after all node close #42731
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
Conversation
Signed-off-by: aoiasd <[email protected]>
/lgtm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: aoiasd, liliu-z The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@@ -171,7 +171,7 @@ func (eNode *embeddingNode) Operate(in []Msg) []Msg { | |||
return []Msg{fgMsg} | |||
} | |||
|
|||
func (eNode *embeddingNode) Close() { | |||
func (eNode *embeddingNode) Free() { | |||
for _, runner := range eNode.functionRunners { | |||
runner.Close() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any external usage for now?
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #42731 +/- ##
===========================================
+ Coverage 72.76% 80.53% +7.76%
===========================================
Files 341 1552 +1211
Lines 31908 220977 +189069
===========================================
+ Hits 23218 177956 +154738
- Misses 8690 36644 +27954
- Partials 0 6377 +6377
🚀 New features to boost your workflow:
|
relate: #42730