transform_plugin: stop plugin when grafana stops (#20397)

fixes https://github.com/grafana/gel-app/issues/49
until #20362
This commit is contained in:
Kyle Brandt authored and GitHub committed 2019-11-14 15:49:31 -05:00
1 parent 860411cb4d
commit da1df02813
1 file changed
+4
+4
View File
@@ -149,6 +149,10 @@ func (pm *PluginManager) Run(ctx context.Context) error {
p.Kill()
}
if Transform != nil {
Transform.Kill()
}
return ctx.Err()
}