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