mirror of https://github.com/vacp2p/nim-libp2p.git
make matcher func gcsafe
This commit is contained in:
parent
1cef1b803b
commit
71282fa442
|
@ -19,7 +19,7 @@ const Ls = "\x03ls\n"
|
||||||
|
|
||||||
type
|
type
|
||||||
MultisteamSelectException = object of CatchableError
|
MultisteamSelectException = object of CatchableError
|
||||||
Matcher* = proc (proto: string): bool
|
Matcher* = proc (proto: string): bool {.gcsafe.}
|
||||||
|
|
||||||
HandlerHolder* = object
|
HandlerHolder* = object
|
||||||
proto: string
|
proto: string
|
||||||
|
|
Loading…
Reference in New Issue