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

сделал StartWaitStop()

This commit is contained in:
Nikitin Aleksandr
2025-03-25 11:23:44 +03:00
parent e7a5e42bdf
commit ea7690678f

View File

@@ -66,6 +66,10 @@ func GetWaitGroup_Main() *sync.WaitGroup {
// StartWaitStop - запускает ожидание сигнала завершения приложения
func StartWaitStop() {
//создадим контекст, т.к. попозже уже гонка данных
contextmain.GetContext()
//
SignalInterrupt = make(chan os.Signal, 1)
fnWait := func() {