mirror of
https://github.com/systemd/systemd.git
synced 2024-11-07 01:27:11 +03:00
event: when we change the io events to watch we need to figure out if a an event is pending again
This commit is contained in:
parent
a99badf5ed
commit
503f39c35e
@ -1027,6 +1027,7 @@ _public_ int sd_event_source_set_io_events(sd_event_source *s, uint32_t events)
|
||||
}
|
||||
|
||||
s->io.events = events;
|
||||
source_set_pending(s, false);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user