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

[v2, darwin] Make sure to copy the uri during processURLRequest #1668

Merged
merged 1 commit into from
Jul 28, 2022

Conversation

stffabi
Copy link
Collaborator

@stffabi stffabi commented Jul 27, 2022

There's no guarantee that the pointer is still valid when
processURLRequest is finished. So we might end up with an
invalid pointer when the request is asynchronously processed.

Fixes #1664

There's no guarantee that the pointer is still valid when
processURLRequest is finished. So we might end up with an
invalid pointer when the request is asynchronously processed.
@stffabi stffabi merged commit 53e875d into wailsapp:master Jul 28, 2022
@stffabi stffabi deleted the bugfix/use-of-invalid-pointer branch July 28, 2022 06:56
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.

[V2] Mac: Inexplicable error log printing
2 participants