Fixes for new comment handling.
This commit is contained in:
parent
56f11e2c95
commit
4db6535025
3 changed files with 3 additions and 1 deletions
|
|
@ -796,6 +796,7 @@ else:
|
||||||
else:
|
else:
|
||||||
# FD no longer a part of the selector. Likely been closed
|
# FD no longer a part of the selector. Likely been closed
|
||||||
# (e.g. socket disconnected).
|
# (e.g. socket disconnected).
|
||||||
|
discard
|
||||||
|
|
||||||
processTimers(p)
|
processTimers(p)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -247,6 +247,7 @@ proc asyncSockHandleWrite(h: RootRef) =
|
||||||
# Apparently the socket cannot be written to. Even though select
|
# Apparently the socket cannot be written to. Even though select
|
||||||
# just told us that it can be... This used to be an assert. Just
|
# just told us that it can be... This used to be an assert. Just
|
||||||
# do nothing instead.
|
# do nothing instead.
|
||||||
|
discard
|
||||||
elif bytesSent != sock.sendBuffer.len:
|
elif bytesSent != sock.sendBuffer.len:
|
||||||
sock.sendBuffer = sock.sendBuffer[bytesSent .. -1]
|
sock.sendBuffer = sock.sendBuffer[bytesSent .. -1]
|
||||||
elif bytesSent == sock.sendBuffer.len:
|
elif bytesSent == sock.sendBuffer.len:
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ proc asmx64 () {.compileTime} =
|
||||||
|
|
||||||
|
|
||||||
proc abortAsmParse (err:string) =
|
proc abortAsmParse (err:string) =
|
||||||
#
|
discard
|
||||||
|
|
||||||
let codeLen = code.len
|
let codeLen = code.len
|
||||||
#let codeEnd = codeLen-1
|
#let codeEnd = codeLen-1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue