mirror of
https://github.com/kataras/iris.git
synced 2026-01-08 20:41:57 +00:00
version 12.1.5
Former-commit-id: cda69f08955cb0d594e98bf26197ee573cbba4b2
This commit is contained in:
@@ -194,12 +194,8 @@ func (su *Supervisor) supervise(blockFunc func() error) error {
|
||||
su.notifyErr(err)
|
||||
|
||||
if su.isWaiting() {
|
||||
blockStatement:
|
||||
for {
|
||||
select {
|
||||
case <-su.unblockChan:
|
||||
break blockStatement
|
||||
}
|
||||
for range su.unblockChan {
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user