summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorLéo Lam <leo@innovatetechnologi.es>2018-02-04 22:48:38 +0100
committerLéo Lam <leo@innovatetechnologi.es>2018-02-04 22:48:38 +0100
commit0822bb347d12c97cb9bb307f624d6f8a8ed1cf06 (patch)
tree134c01d4595c9035f82698faceb96a9234ad852d /Source/Core
parent9a3705f82dbf30d9706e8a0b76fc6164cf3ba4af (diff)
evdev: Don't leak eventfd on shutdown
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp b/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp
index 398d33eb78..6e4aab495d 100644
--- a/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp
+++ b/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp
@@ -136,6 +136,7 @@ static void StopHotplugThread()
{
}
s_hotplug_thread.join();
+ close(s_wakeup_eventfd);
}
void Init()