node-ntp-client
node-ntp-client copied to clipboard
Set errorFired flag on timeout
An 'error' callback can occur after the setTimeout() fires in rare occasions, which should be ignored to prevent multiple error callbacks.
@moonpyk can you please review my PR? Thanks!