Coder Social home page Coder Social logo

Stop WebServer about watsonwebserver HOT 6 CLOSED

dotnet avatar dotnet commented on July 16, 2024
Stop WebServer

from watsonwebserver.

Comments (6)

jchristn avatar jchristn commented on July 16, 2024 1

Hi @AChmieletzki I just pushed a new version to Git (60adc70) and also updated NuGet to v1.2.5 with the fix. The TestDefault project now has a console menu to allow you to call/test .Dispose(). It is working now. Thank you for catching this. Closing now, please re-open if the problem persists!

from watsonwebserver.

jchristn avatar jchristn commented on July 16, 2024

from watsonwebserver.

jchristn avatar jchristn commented on July 16, 2024

Hi @SkyWar-design , I just committed v1.1.4 and pushed an update to NuGet. This one has IDisposable implemented so you can either use using (var s = ... or you can manually call s.Dispose(). Please let me know if any issues!

from watsonwebserver.

AChmieletzki avatar AChmieletzki commented on July 16, 2024

I don't think the Dispose() method is working as intended, after disposing the Server I can still reach it as well as all its routes.

from watsonwebserver.

jchristn avatar jchristn commented on July 16, 2024

Hi @AChmieletzki thank you for this, I will test it again and report back. Cheers

from watsonwebserver.

jchristn avatar jchristn commented on July 16, 2024

Thanks, was able to reproduce. Working on this now.

from watsonwebserver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.