From 7c33df9e3d2609082792e702fd021e6cd217fdf9 Mon Sep 17 00:00:00 2001 From: xiantang Date: Wed, 18 Oct 2023 22:16:14 +0800 Subject: [PATCH] Revert "fix: close the `e.canExit` channel in the `start` function (#477)" (#479) This reverts commit 8a22712671b5d21895fa841bcce2745a18e54363. --- runner/engine.go | 1 - 1 file changed, 1 deletion(-) diff --git a/runner/engine.go b/runner/engine.go index b83054c2..ba56377e 100644 --- a/runner/engine.go +++ b/runner/engine.go @@ -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) {