diff --git a/pwmdemo/pwmexplorer/main.go b/pwmdemo/pwmexplorer/main.go index 6b579a2..eecb0ba 100644 --- a/pwmdemo/pwmexplorer/main.go +++ b/pwmdemo/pwmexplorer/main.go @@ -512,6 +512,8 @@ func getButtonForm(ui *tview.Application, pwmApp *PWMApp, msg *tview.TextView) * // } if err := syscall.Kill(-cmd.Process.Pid, syscall.SIGINT); err != nil { msg.SetText(fmt.Sprintf("Error sending interrupt signal: %s", err)) + running = false + return } running = false msg.SetText("Test stopped")