Fix asyncdispatch docgen

This commit is contained in:
Dominik Picheta 2017-11-24 22:47:38 +00:00 • committed by Dominik Picheta
commit 94fe5bd118

View file

@ -281,7 +281,7 @@ when defined(windows) or defined(nimdoc):
if createIoCompletionPort(fd.Handle, p.ioPort,
cast[CompletionKey](fd), 1) == 0:
raiseOSError(osLastError())
p.handles.incl(fd)
p.handles.incl(fd.AsyncFD)
return fd.AsyncFD
proc verifyPresence(fd: AsyncFD) =