bug fixes

This commit is contained in:
9seconds
2019-10-10 17:48:30 +03:00
parent 2eba78b0db
commit d459efcf9c
9 changed files with 38 additions and 12 deletions
-7
View File
@@ -42,10 +42,3 @@ func (r *registry) getChannel(id conntypes.ConnID) (*ctxChannel, bool) {
}
return nil, false
}
func InitRegistry(ctx context.Context) {
Registry = &registry{
ctx: ctx,
conns: map[string]*ctxChannel{},
}
}