Fix Unix compilation problems.
This commit is contained in:
parent
f1cf6d36fc
commit
25ad1e2f32
|
@ -627,7 +627,8 @@ else:
|
||||||
transp.state.incl(ReadPaused)
|
transp.state.incl(ReadPaused)
|
||||||
cdata.fd.removeReader()
|
cdata.fd.removeReader()
|
||||||
if not isNil(transp.reader):
|
if not isNil(transp.reader):
|
||||||
transp.finishReader()
|
transp.reader.complete()
|
||||||
|
transp.reader = nil
|
||||||
break
|
break
|
||||||
|
|
||||||
proc newStreamSocketTransport(sock: AsyncFD, bufsize: int,
|
proc newStreamSocketTransport(sock: AsyncFD, bufsize: int,
|
||||||
|
|
Loading…
Reference in New Issue