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