evdev: Don't leak eventfd on shutdown

This commit is contained in:
Léo Lam 2018-02-04 22:48:38 +01:00
parent 9a3705f82d
commit 0822bb347d
1 changed files with 1 additions and 0 deletions

View File

@ -136,6 +136,7 @@ static void StopHotplugThread()
{
}
s_hotplug_thread.join();
close(s_wakeup_eventfd);
}
void Init()