ranch icon indicating copy to clipboard operation
ranch copied to clipboard

ranch:stop_listener/1 throws error

Open memer-boy opened this issue 3 years ago • 1 comments

Hi, loving Cowboy in my projects. Just found this after bumping from 2.0.0-rc3 to 2.1.0

When you call ranch:stop_listener with a name of a listener that has never been started, it throws an error; used to do nothing in 2.0.0-rc3 if listener didn't exist at all, or at least returned {error, not_found} like the docs states.

Thank you all for your great work.

memer-boy avatar Jul 18 '22 06:07 memer-boy

Ah, I see the problem :) Will look into it.

juhlig avatar Jul 19 '22 05:07 juhlig

Fixed, thanks!

essen avatar Oct 10 '22 10:10 essen