fixes 'nim doc'
This commit is contained in:
parent
cb19dc53ca
commit
19d52033f8
1 changed files with 1 additions and 1 deletions
|
|
@ -1940,7 +1940,7 @@ proc activeDescriptors*(): int {.inline.} =
|
||||||
## event loop. This is a cheap operation that does not involve a system call.
|
## event loop. This is a cheap operation that does not involve a system call.
|
||||||
when defined(windows):
|
when defined(windows):
|
||||||
result = getGlobalDispatcher().handles.len
|
result = getGlobalDispatcher().handles.len
|
||||||
else:
|
elif not defined(nimdoc):
|
||||||
result = getGlobalDispatcher().selector.count
|
result = getGlobalDispatcher().selector.count
|
||||||
|
|
||||||
when defined(posix):
|
when defined(posix):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue