dinput/tests: Dynamically allocate async operation handlers.
Instead of passing them from the stack. The async operation is executed
in a thread pool, which might Release its reference asynchronously and
call a stale function pointer if it is sequenced after the stack
invalidation.
Showing
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment