Remove unused GlobalServiceDoneCh (#13578)

This commit is contained in:
Aditya Manthramurthy 2021-11-04 08:15:10 -07:00 committed by GitHub
parent bce6864785
commit 64a1904136
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -37,9 +37,6 @@ const (
// Global service signal channel.
var globalServiceSignalCh chan serviceSignal
// GlobalServiceDoneCh - Global service done channel.
var GlobalServiceDoneCh <-chan struct{}
// GlobalContext context that is canceled when server is requested to shut down.
var GlobalContext context.Context
@ -48,7 +45,6 @@ var cancelGlobalContext context.CancelFunc
func initGlobalContext() {
GlobalContext, cancelGlobalContext = context.WithCancel(context.Background())
GlobalServiceDoneCh = GlobalContext.Done()
globalServiceSignalCh = make(chan serviceSignal)
}