drivers: Implement InternalPluginDriver interface

This implements the InternalPluginDriver interface in each driver, and
calls the cancellation fn for their respective eventers.

This fixes a per task goroutine leak during test suite execution.
This commit is contained in:
Danielle Tomlinson
2018-12-20 13:25:07 +01:00
parent 994057abf4
commit 476e44b4e4
8 changed files with 23 additions and 6 deletions

View File

@@ -556,3 +556,7 @@ func GetAbsolutePath(bin string) (string, error) {
return filepath.EvalSymlinks(lp)
}
func (d *Driver) Shutdown() {
d.signalShutdown()
}