endpointslice: remove unnecessary HandleCrash
This commit is contained in:
parent
2fcdbd098c
commit
d8536122b9
@ -265,10 +265,6 @@ func (c *Controller) Run(workers int, stopCh <-chan struct{}) {
|
||||
go wait.Until(c.worker, c.workerLoopPeriod, stopCh)
|
||||
}
|
||||
|
||||
go func() {
|
||||
defer utilruntime.HandleCrash()
|
||||
}()
|
||||
|
||||
<-stopCh
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user