-
-
Notifications
You must be signed in to change notification settings - Fork 283
Refactor post-grab actions: fix memory leaks, improve performance, enhance maintainability #607
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
…on, fix event handler leaks Co-authored-by: TheJoeFin <[email protected]>
Co-authored-by: TheJoeFin <[email protected]>
Co-authored-by: TheJoeFin <[email protected]>
| allPostGrabActions.Add(button); | ||
| } | ||
| } | ||
| var relevantActions = ButtonInfo.AllButtons |
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.
Respect editor config style and use explicit types
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.
Changed to explicit type IEnumerable<ButtonInfo> in commit 481aad0.
| if (!string.IsNullOrWhiteSpace(line)) | ||
| finalString += line.Trim() + Environment.NewLine; | ||
| result = finalString; | ||
| var trimmedLines = stringSplit |
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.
use explicit types
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.
Changed to explicit type string[] in commit 481aad0.
Co-authored-by: TheJoeFin <[email protected]>
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.