Skip to content

Commit

Permalink
Revert "fix: close the e.canExit channel in the start function (#477
Browse files Browse the repository at this point in the history
)"

This reverts commit 8a22712.
  • Loading branch information
xiantang authored Oct 18, 2023
1 parent 8a22712 commit 3b06b50
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion runner/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,6 @@ func (e *Engine) start() {
select {
case <-e.exitCh:
e.mainDebug("exit in start")
close(e.canExit)
return
case filename = <-e.eventCh:
if !e.isIncludeExt(filename) {
Expand Down

0 comments on commit 3b06b50

Please sign in to comment.