diff options
-rw-r--r-- | src/haptic.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/haptic.cpp b/src/haptic.cpp index c7517d1..637c6f5 100644 --- a/src/haptic.cpp +++ b/src/haptic.cpp @@ -54,7 +54,7 @@ public: ~Impl() { if (m_sensor != nullptr) - ua_sensors_haptic_enable(m_sensor); + ua_sensors_haptic_disable(m_sensor); if (m_tag) g_source_remove(m_tag); |