Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nsapi - Fixed open/close issue in Socket #3402

Merged
merged 1 commit into from Dec 19, 2016

Commits on Dec 8, 2016

  1. nsapi - Fixed open/close issue in Socket

    During open, the socket checked the internal stack variable,
    assuming it would alway be null on a socket not connected to
    the network. However, when a socket is closed, the stack variable
    was not updated, causing the socket to incorrectly return a
    parameter error if reopened.
    
    The simple fix was to set the stack to null on close. A non-null
    stack is a predicate for a non-null socket variable, so no additional
    checks are needed in socket functions.
    geky committed Dec 8, 2016
    Configuration menu
    Copy the full SHA
    3643b59 View commit details
    Browse the repository at this point in the history