1
0
mirror of https://github.com/ManyakRus/starter.git synced 2025-11-23 22:45:11 +02:00

сделал contextmain.SetContext(ctx)

This commit is contained in:
Nikitin Aleksandr
2025-04-03 16:23:44 +03:00
parent 9ac89940cf
commit 85d6d45cf1
25 changed files with 121 additions and 33 deletions

View File

@@ -297,7 +297,10 @@ func Start_ctx(ctx *context.Context, WaitGroup *sync.WaitGroup) error {
var err error
//запомним к себе контекст
contextmain.Ctx = ctx
if contextmain.Ctx != ctx {
contextmain.SetContext(ctx)
}
//contextmain.Ctx = ctx
if ctx == nil {
contextmain.GetContext()
}