Commit 711f7dc
authored
Fix CreateSessionKey ApprovedTargets > 0 Crash (#36)
Fixes memory crash when passing string arrays to native library due to
temporary objects being destroyed before async calls by switching to
persistent FAnsiString containers to ensure stable memory addresses
throughout the async operation lifecycle.
Fixes BLD-25
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Refactor**
* Improved the structure of asynchronous operations for better
reliability.
* Enhanced internal handling of session key targets to ensure stability
during wallet operations.
No changes to visible functionality or public interfaces.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 parent d9e11a2 commit 711f7dc
File tree
1 file changed
+178
-166
lines changed- Source/Thirdweb/Private/Wallets
1 file changed
+178
-166
lines changed
0 commit comments