summaryrefslogtreecommitdiff
path: root/factory.go
diff options
context:
space:
mode:
Diffstat (limited to 'factory.go')
-rw-r--r--factory.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/factory.go b/factory.go
index 73896406..7d20016c 100644
--- a/factory.go
+++ b/factory.go
@@ -7,4 +7,7 @@ type Factory interface {
// SpawnWorker creates new worker process based on given command.
// Process must not be started.
SpawnWorker(cmd *exec.Cmd) (w *Worker, err error)
+
+ // Close the factory and underlying connections.
+ Close() error
}