MCPcopy Create free account
hub / github.com/Cyinx/einx / Close

Function Close

module/module_mgr.go:19–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17}
18
19func Close() {
20 module_map.Range(func(k interface{}, m interface{}) bool {
21 m.(ModuleWoker).Close()
22 return true
23 })
24
25 worker_pools_map.Range(func(k interface{}, m interface{}) bool {
26 m.(*ModuleWorkerPool).Close()
27 return true
28 })
29
30 wait_close.Wait()
31}
32
33func NewModule(name string) Module {
34 m := &module{

Callers

nothing calls this directly

Calls 1

CloseMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…