Commit dbb735ef authored by Ivo Ivanov's avatar Ivo Ivanov Committed by Alexandre Julliard

dinput: Stop calling SendForceFeedbackCommand on device destroy.

It is only relevant for FFB devices, and is already being called by hid_joystick_unacquire(). Signed-off-by: 's avatarIvo Ivanov <logos128@gmail.com> Signed-off-by: 's avatarRémi Bernon <rbernon@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 02883715
......@@ -741,8 +741,6 @@ void dinput_device_destroy( IDirectInputDevice8W *iface )
TRACE( "iface %p.\n", iface );
IDirectInputDevice_Unacquire(iface);
/* Reset the FF state, free all effects, etc */
IDirectInputDevice8_SendForceFeedbackCommand(iface, DISFFC_RESET);
free( This->data_queue );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment