mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-10-25 13:30:42 +00:00
Fix fd handlers in loop
This commit is contained in:
1 parent
47f1ea3551
commit
fa23af42b2
1 file changed
+1
@@ -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