Closed dwisiswant0 closed 1 month ago
The `apiServer` in `runner.httpApiEndpoint` also needs to be shutdown if `options.HttpApiEndpoint` but `runner/apiendpoint.go` has no Close or Stop function right now
Originally posted by @meme-lord in https://github.com/projectdiscovery/httpx/issues/1856#issuecomment-2272203339
### Tasks - [x] Implement on close
Ref: https://discord.com/channels/695645237418131507/716605549923270717/1261788558218362911
Originally posted by @meme-lord in https://github.com/projectdiscovery/httpx/issues/1856#issuecomment-2272203339