mirror of
https://github.com/minio/minio.git
synced 2025-01-11 15:03:22 -05:00
Remove unused GlobalServiceDoneCh (#13578)
This commit is contained in:
parent
bce6864785
commit
64a1904136
@ -37,9 +37,6 @@ const (
|
|||||||
// Global service signal channel.
|
// Global service signal channel.
|
||||||
var globalServiceSignalCh chan serviceSignal
|
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.
|
// GlobalContext context that is canceled when server is requested to shut down.
|
||||||
var GlobalContext context.Context
|
var GlobalContext context.Context
|
||||||
|
|
||||||
@ -48,7 +45,6 @@ var cancelGlobalContext context.CancelFunc
|
|||||||
|
|
||||||
func initGlobalContext() {
|
func initGlobalContext() {
|
||||||
GlobalContext, cancelGlobalContext = context.WithCancel(context.Background())
|
GlobalContext, cancelGlobalContext = context.WithCancel(context.Background())
|
||||||
GlobalServiceDoneCh = GlobalContext.Done()
|
|
||||||
globalServiceSignalCh = make(chan serviceSignal)
|
globalServiceSignalCh = make(chan serviceSignal)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user