Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix double
close
when calling xkb::Keymap::new_from_fd
`strace ./target/debug/examples/simple_window 2>&1| grep EBADF` shows this error before this change. `new_from_fd` calls `File::from` on the fd, which results in closing it on drop.
- Loading branch information