Merge branch 'jangko-fix_nimbus_build'

This commit is contained in:
Ștefan Talpalaru 2019-03-28 17:36:52 +01:00
commit a7e82ae4a8
No known key found for this signature in database
GPG Key ID: CBF7934204F1B6F9
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