virtualization-rs
virtualization-rs copied to clipboard
fix: Use StrongPtr::retain on class methods
Resolves #4
I am not good at Objective-C and/or macOS things, so I do not know this is the correct resolution of this issue. However I confirmed this works without occurring any segmentation faults.
Thanks for the bug fix. However, we would appreciate it if you could wait for a while to merge this fix. We would probably prefer to eliminate the autorelease object and solve everything with runtime::objc_release by Drop Trait.
@suzusuzu Thank you for the investigation. If this pull request resolves the issue not in a good way, feel free to close and supersede it. Thank you.