From 71282fa442f86e5659b34b2a3b0886aee4e66aaa Mon Sep 17 00:00:00 2001 From: Dmitriy Ryajov Date: Fri, 30 Aug 2019 16:15:47 -0600 Subject: [PATCH] make matcher func gcsafe --- libp2p/multistream.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libp2p/multistream.nim b/libp2p/multistream.nim index b606050b7..b6ca77158 100644 --- a/libp2p/multistream.nim +++ b/libp2p/multistream.nim @@ -19,7 +19,7 @@ const Ls = "\x03ls\n" type MultisteamSelectException = object of CatchableError - Matcher* = proc (proto: string): bool + Matcher* = proc (proto: string): bool {.gcsafe.} HandlerHolder* = object proto: string