http_server
http_server copied to clipboard
How to dispose or close the server? [help/ possible bug]
Hi after I change route on my app can we dispose or close the server? Or is this automatically handled?
@Gh05ts did you find any solution?
@luissouza No in my case the reason I was using this was to serve a local file through a local server because of an issue I was facing in some other package, in the end I just didn't use that package, and got the local file without server. Usually you initialize something and close it in dispose but I can't find a way to do that with this, but that is actually a flutter issue more, not related to this package.