diff options
| -rw-r--r-- | run.go | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -35,7 +35,10 @@ func run(ctx context.Context, cmd *cli.Command) error { return err } - classic(u, cmd.Int("concurrency"), cmd.Int("maxurls"), cmd.Int("depth")) + getLeakProfile(func() { + classic(u, cmd.Int("concurrency"), cmd.Int("maxurls"), cmd.Int("depth")) + }) + return nil } |
