Rémi Bernon : dinput: Cleanup low-level hooks on input thread exit.