From 74de0ac89d0ebae039a11685e2a7d06fd656ecec Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 13 Feb 2025 22:28:46 -0600 Subject: [PATCH] debugging init() --- init.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init.go b/init.go index 1896031..2d56adc 100644 --- a/init.go +++ b/init.go @@ -9,6 +9,7 @@ import ( "os" "runtime/debug" "sync" + "time" "go.wit.com/log" "go.wit.com/widget" @@ -36,6 +37,8 @@ func (me *TreeInfo) catchActionChannel() { case a := <-me.pluginChan: log.Verbose("catchActionChannel() on ", a.WidgetId, a.WidgetType, a.ProgName) muAction.Lock() + me.WaitOK() + time.Sleep(10 * time.Millisecond) me.doAction(a) muAction.Unlock() }