GithubHelp home page GithubHelp logo

timeout's People

Contributors

bulldoglowell avatar leogaggl avatar nitrofmtl avatar rpoisel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

timeout's Issues

Add null pointer check

I found 3 errors while using this library:

  1. void TimeOut::cancel()
    if (TIMEOUT::UNDELETABLE == node->type) does not check that the node is a null pointer.
    This condition occurs if the cancel() function is called twice.

  2. TimeOut::handler()
    TimeOut::head->callback(); TimeOutNode *temp = TimeOut::head; if (TimeOut::head->next)

The TimeOut::head is a null pointer if the cancel() function is called in the callback routine of the timer.

  1. Calling twice interval()/timeout() function does not change the interval/timeout, it creates another interval/timeout. Should be avoided (error and new timer not created) or handled (automatic cancel of the previous timer)

Contact

Hi NitroMtl I apologies but I cant find away to contact you, are you able to tell me if your fork of the Websockets Server will work on my ESP8266 using Ethernet2 and w5500 I cannot seem to get any help from anyone and you seem to be the only person who may have solved the issue

Kind Regards

John

License for library

I am trying to make a few minor changes (largely to the manifest and some updates to the readme).

However, I notice that the repository has no license assigned. @NitrofMtl can you let me know what license you would like to use for your code? I can make changes.

But I don't want to add a license for someone else's work :-)

Thanks for the excellent work on this library so far! It was very useful. I would just like to submit it to the PlatformIO library manager as well.

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.