winhttp: Don't wait for the task thread to exit.
commit50d9d187c57448ca3f14de6a8eeb2520179db5b8
authorHuw Davies <huw@codeweavers.com>
Tue, 21 Jul 2015 14:57:13 +0000 (21 15:57 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 21 Jul 2015 15:38:13 +0000 (21 17:38 +0200)
tree2f7295930b26a922408722a60eeadba426743259
parent65319e811b0459b2276e3fc34214d468a6e7bf59
winhttp: Don't wait for the task thread to exit.

Instead, have the task thread call the destructor before it exits.
Previously, if the task thread held the final reference, it would call
request_destroy which would then wait for itself to finish.
dlls/winhttp/request.c
dlls/winhttp/session.c