mirror of
https://github.com/sot-tech/mochi.git
synced 2026-06-02 03:03:37 -07:00
+5
-1
@@ -119,7 +119,11 @@ func rootCmdRun(cmd *cobra.Command, args []string) error {
|
||||
}
|
||||
}
|
||||
|
||||
// TODO(jzelinskie): stop hooks here
|
||||
// Stop hooks.
|
||||
errs := logic.Stop()
|
||||
for _, err := range errs {
|
||||
errChan <- err
|
||||
}
|
||||
|
||||
close(errChan)
|
||||
}()
|
||||
|
||||
Reference in New Issue
Block a user