diff --git a/releaseBox.go b/releaseBox.go index ba46c2b..f276fa5 100644 --- a/releaseBox.go +++ b/releaseBox.go @@ -145,9 +145,15 @@ func createReleaseBox(box *gui.Node) { ok, duration := doReleaseAll() s := fmt.Sprint(duration) log.Info("release returned", ok, "and ran for", s, "findCounter =", findCounter) + first := findCounter if findCounter != 0 { log.Info("should try thsi doRelease() loop again since findCounter =", findCounter) + ok, duration := doReleaseAll() + s := fmt.Sprint(duration) + log.Info("release returned", ok, "and ran for", s, "findCounter =", findCounter) } + second := findCounter + log.Info("doReleaseAll() first =", first, "second =", second) buttonEnable() }) grid.NextRow()