diff options
Diffstat (limited to 'plugin.go')
| -rw-r--r-- | plugin.go | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -24,6 +24,10 @@ type aplug struct { filename string plug *plugin.Plugin + // set this to true if the plugin dies + // TODO: remove the plugin from the pool + dead bool + // this tells the toolkit plugin how to send events // back here // @@ -269,6 +273,7 @@ func (n *Node) LoadToolkit(name string) *Node { if plug == nil { return n } + plug.dead = false log.Log(PLUG, "LoadToolkit() sending Toolkit Init action to the plugin channel") var a widget.Action |
