Fix FileDescriptorEvent constructor to adhere to the given event mask.
This commit is contained in:
parent
a60828d6da
commit
2777b0a6ff
1 changed files with 1 additions and 0 deletions
|
@ -972,6 +972,7 @@ struct FileDescriptorEvent {
|
|||
private this(int fd, Trigger event_mask)
|
||||
nothrow {
|
||||
m_socket = eventDriver.sockets.adoptStream(fd);
|
||||
m_trigger = event_mask;
|
||||
}
|
||||
|
||||
this(this)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue