summaryrefslogtreecommitdiff
path: root/action.go
diff options
context:
space:
mode:
Diffstat (limited to 'action.go')
-rw-r--r--action.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/action.go b/action.go
index a15fcb3..8b40983 100644
--- a/action.go
+++ b/action.go
@@ -160,7 +160,11 @@ func sendAction(n *Node, atype widget.ActionType) {
// sends the action/event to each toolkit via a golang plugin channel
func sendActionToPlugin(a *widget.Action) {
for _, aplug := range allPlugins {
- log.Log(PLUG, "send to toolkit =", aplug.name, "Action type=", a.ActionType, a.WidgetId)
+ log.Log(CHANGE, "send to toolkit =", aplug.name, "Action type=", a.ActionType, a.WidgetId)
+ if aplug.dead {
+ // log.Log(WARN, "skiping dead toolkit =", aplug.name, "Action type=", a.ActionType, a.WidgetId)
+ return
+ }
if aplug.pluginChan == nil {
log.Log(PLUG, "Action() retrieving the aplug.PluginChannel()", aplug.name)
aplug.pluginChan = aplug.PluginChannel()