Henri Verbeet : wined3d: Avoid destroying contexts that are current in another thread.