-
-
Notifications
You must be signed in to change notification settings - Fork 252
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(windows): clone HSTRING
so it is not dropped eagerly
#1221
Conversation
Co-authored-by: Crend King <975235+CrendKing@users.noreply.github.com>
HSTRING
so it is not dropped eagerly
As you mentioned in tauri-apps/tauri#9501, I think you are right that since HString is a ref-counted structure, and PCWSTR is just a pointer and doesn't hold any actual data, the A nitpick for the change: instead of cloning the Option, why not
|
thanks, that is better, pushed the change |
ref: https://discord.com/channels/616186924390023171/1229300159607996437/1229300159607996437
closes tauri-apps/tauri#9501