[PATCH 1/1] dxgi/tests: Release the swapchain after waiting for the window thread to finish in test_resize_target_wndproc().