transform_plugin: stop plugin when grafana stops (#20397)

fixes https://github.com/grafana/gel-app/issues/49
until #20362
pull/20399/head
Kyle Brandt 6 years ago committed by GitHub
parent 860411cb4d
commit da1df02813
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      pkg/plugins/plugins.go

@ -149,6 +149,10 @@ func (pm *PluginManager) Run(ctx context.Context) error {
p.Kill()
}
if Transform != nil {
Transform.Kill()
}
return ctx.Err()
}

Loading…
Cancel
Save