fix nimbus/premix appveyor build

This commit is contained in:
andri lim 2019-03-27 19:53:28 +07:00
parent abafbc3a73
commit 7a6b195021
No known key found for this signature in database
GPG Key ID: 31702AE10541E6B9
1 changed files with 1 additions and 1 deletions

View File

@ -1121,7 +1121,7 @@ proc handshakeImpl[T](peer: Peer,
sendFut: Future[void],
responseFut: Future[T],
timeout: Duration): Future[T] {.async.} =
sendFut.addCallback do (arg: pointer):
sendFut.addCallback do (arg: pointer) {.gcsafe.}:
if sendFut.failed:
debug "Handshake message not delivered", peer