This fixes Trials Fusion often crashing when disconnecting a controller while there are more still connected.
--
v15: ntoskrnl/tests: Use the 'Nt' version of the CancelIo APIs.
ntoskrnl/tests: Test the thread ID the cancellation routine runs from.
ntoskrnl/tests: Add more cancellation tests.
https://gitlab.winehq.org/wine/wine/-/merge_requests/7797
Renaming destroy_stream to free_stream_buffers because that's what it does.
wg_parser_disconnect frees all streams on the wg_parser, but free_stream_buffers
later calls wg_parser_stream_release_buffer on those streams. It has saved
pointers to those in wm_stream->wg_stream, which became dangling pointers after
wg_parser_disconnect.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/8939