-
-
Notifications
You must be signed in to change notification settings - Fork 643
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
Memory leak fix #736
Memory leak fix #736
Conversation
leaanthony
commented
Jun 29, 2021
- Fixes a number of memory leaks. Significant reduction in memory usage.
- Refactored project layout to align with latest Wails.
app/app.go
Outdated
Type: dialog.InfoDialog, | ||
Title: "You're up to date", | ||
Message: fmt.Sprintf("%s is the latest version.", latest.TagName), | ||
Buttons: []string{"OK"}, | ||
CancelButton: "OK", | ||
}) | ||
if err != nil { | ||
// @matryer - how do you want to handle these errors? |
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.
not much we can do if these error is there?
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.
100% safe to ignore in this context. The error is mainly for text that cannot be converted to UTF-16.
Thank you very much for taking the time to iron this issue out. The effort is greatly appreciated. 👍 |
No worries! I managed to get it down to 32bytes of leakage and that was coming from foundation internals. |