这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@donners
Copy link
Contributor

@donners donners commented Feb 5, 2020

If one of the recursive calls encounters an error, it was closing the channel without setting the closed flag. This change moves the channel close outside enumerate() so there's only one place that needs to close it.

Also removed the loop in enumerate() which wasn't necessary.

If one of the recursive calls encounters an error, it was closing the channel without setting the closed flag. This change moves the channel close outside enumerate() so there's only one place that needs to close it.

Also removed the loop in enumerate() which wasn't necessary.
@donners donners requested a review from Ice3man543 February 5, 2020 01:05
@Ice3man543
Copy link
Member

@donners, nice catch. let me review and merge!

@Ice3man543 Ice3man543 merged commit 7ecaa96 into projectdiscovery:master Feb 13, 2020
@donners donners deleted the archiveis-fix-panic branch November 10, 2021 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants