mirror of
https://github.com/X11Libre/xf86-input-synaptics.git
synced 2026-04-14 11:54:16 +00:00
Fixed another X server crash caused by forgetting to remove
the timer callback in the DeviceOff() function.
This commit is contained in:
@@ -515,6 +515,8 @@ DeviceOff(DeviceIntPtr dev)
|
||||
DBG(3, ErrorF("Synaptics DeviceOff called\n"));
|
||||
|
||||
if (local->fd != -1) {
|
||||
TimerFree(priv->timer);
|
||||
priv->timer = NULL;
|
||||
xf86RemoveEnabledDevice(local);
|
||||
priv->proto_ops->DeviceOffHook(local);
|
||||
if (priv->comm.buffer) {
|
||||
|
||||
Reference in New Issue
Block a user