evdev: Don't leak eventfd on shutdown
This commit is contained in:
parent
9a3705f82d
commit
0822bb347d
|
@ -136,6 +136,7 @@ static void StopHotplugThread()
|
|||
{
|
||||
}
|
||||
s_hotplug_thread.join();
|
||||
close(s_wakeup_eventfd);
|
||||
}
|
||||
|
||||
void Init()
|
||||
|
|
Loading…
Reference in New Issue