evdev: reset the device fd after closing it
A caller may have a reference to the device after closing it, make sure that
ref doesn't have a dangling fd so future attempts of reading from/writing to
the device fail.
Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
Please register or sign in to comment