This commit is contained in:
cheatfate 2018-10-21 21:00:15 +03:00 committed by zah
parent 8b4bbd29af
commit 84184221ad
1 changed files with 1 additions and 1 deletions

View File

@ -288,7 +288,7 @@ proc onPeerConnected(ctx: SyncContext, peer: Peer) =
debug "New candidate for sync", peer
discard
let f = ctx.startSyncWithPeer(peer)
f.callback = proc(data: pointer) =
f.callback = proc(data: pointer) {.gcsafe.} =
if f.failed:
error "startSyncWithPeer failed", msg = f.readError.msg, peer