Skip to content

Commit ed96bbd

Browse files
committed
fix: Cleanup function containers.
1 parent 48ae508 commit ed96bbd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/cmd/run/root.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,10 @@ var runCmd = &cobra.Command{
150150
fmt.Println(fmt.Sprintf("Received %v, exiting", sigTerm))
151151
}
152152

153+
for _, f := range functions {
154+
f.Stop()
155+
}
156+
153157
// Stop the membrane
154158
mem.Stop()
155159
// Stop the minio server

0 commit comments

Comments
 (0)