make matcher func gcsafe

This commit is contained in:
Dmitriy Ryajov 2019-08-30 16:15:47 -06:00
parent 1cef1b803b
commit 71282fa442
1 changed files with 1 additions and 1 deletions

View File

@ -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