Commit da1df028 by Kyle Brandt Committed by GitHub

transform_plugin: stop plugin when grafana stops (#20397)

fixes https://github.com/grafana/gel-app/issues/49
until #20362
parent 860411cb
...@@ -149,6 +149,10 @@ func (pm *PluginManager) Run(ctx context.Context) error { ...@@ -149,6 +149,10 @@ func (pm *PluginManager) Run(ctx context.Context) error {
p.Kill() p.Kill()
} }
if Transform != nil {
Transform.Kill()
}
return ctx.Err() return ctx.Err()
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment