mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-03 22:45:13 +08:00
修改启动协程bug
This commit is contained in:
@@ -61,7 +61,7 @@ func (slf *CServiceManager) Init() bool {
|
||||
|
||||
func (slf *CServiceManager) Start(exit chan bool, pwaitGroup *sync.WaitGroup) bool {
|
||||
for _, s := range slf.localserviceMap {
|
||||
(s.(IModule)).RunModule(s.(IModule), exit, pwaitGroup)
|
||||
go (s.(IModule)).RunModule(s.(IModule), exit, pwaitGroup)
|
||||
}
|
||||
|
||||
pwaitGroup.Add(1)
|
||||
|
||||
Reference in New Issue
Block a user