mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-06-16 22:01:11 +00:00
Fix fd handlers in loop
This commit is contained in:
@@ -68,6 +68,7 @@ void loop_add_fd(int fd, FdHandler handler, int events) {
|
|||||||
|
|
||||||
fds[fdindex].fd = fd;
|
fds[fdindex].fd = fd;
|
||||||
fds[fdindex].events = events;
|
fds[fdindex].events = events;
|
||||||
|
fdHandlers[fdindex] = handler;
|
||||||
}
|
}
|
||||||
|
|
||||||
void loop_remove_fd(int fd) {
|
void loop_remove_fd(int fd) {
|
||||||
|
|||||||
Reference in New Issue
Block a user