app start as Goroutine basically working

This commit is contained in:
Helmut Merz 2023-06-03 15:53:30 +02:00
parent c6aa6afae2
commit 7d8d9abe54

View file

@ -13,11 +13,7 @@ import (
)
func Start(ctx common.Context) {
ctx.WaitGroup().Add(1)
go func() {
scopes.Start(ctx)
ctx.WaitGroup().Done()
}()
scopes.Start(ctx)
time.Sleep(100 * time.Millisecond)
}