Closed GurliGebis closed 1 year ago
@donho I have rebased this one, so it should be ready to merge.
@GurliGebis This PR is not yet validated. I need only the PR which fix the the crash. Could you create a new PR with the 2nd commit please?
FYI: I'll be on the trip tomorrow morning, and I won't bring my surface 1 on which windows 8.1 installed. So it's not possible to validate the fix during my trip.
@donho I'll create a new branch with only that one. Would a video of me testing it on Windows 8.1 be fine for you to validate it working?
@GurliGebis
I'll create a new branch with only that one.
It won't be necessary, I did a cherry-pick and test it last night. It's OK under Win8.1 now - good job.
For this PR (of the first commit), I will build a debug version and reproduce the assert warning under Win11. Once it's validated, the PR will be merged.
Please don't mix fixes in a PR next time, for the sake of facility of code review. Thank you.
@donho sure, no problem 🙂 Let me know if you are able to make it crash as well without the winrt stuff being on another thread.
@GurliGebis Validated. I can reproducethe assert warning during the installation, and the PR fixes it.
Perfect, thanks @donho
This fixes the problem in #18 by moving the registration and unregistration of the sparse package away from the main thread. Please see #18 for more info - @pjaholkowski should be able to provide more info on the issue.