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:
|
||||
# FD no longer a part of the selector. Likely been closed
|
||||
# (e.g. socket disconnected).
|
||||
discard
|
||||
|
||||
processTimers(p)
|
||||
|
||||
|
|
|
|||
|
|
@ -247,6 +247,7 @@ proc asyncSockHandleWrite(h: RootRef) =
|
|||
# Apparently the socket cannot be written to. Even though select
|
||||
# just told us that it can be... This used to be an assert. Just
|
||||
# do nothing instead.
|
||||
discard
|
||||
elif bytesSent != sock.sendBuffer.len:
|
||||
sock.sendBuffer = sock.sendBuffer[bytesSent .. -1]
|
||||
elif bytesSent == sock.sendBuffer.len:
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ proc asmx64 () {.compileTime} =
|
|||
|
||||
|
||||
proc abortAsmParse (err:string) =
|
||||
#
|
||||
discard
|
||||
|
||||
let codeLen = code.len
|
||||
#let codeEnd = codeLen-1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue