Closed ibc closed 4 years ago
Related to https://github.com/latysheff/node-sctp/issues/17:
Check this.destroyed in both _write() methods in sockets.js so the given callback is not executed if the socket/stream is already destroyed.
this.destroyed
_write()
sockets.js
callback
Somehow I messed up the PR due to some local conflicts. Creating a new one.
Related to https://github.com/latysheff/node-sctp/issues/17:
Check
this.destroyed
in both_write()
methods insockets.js
so the givencallback
is not executed if the socket/stream is already destroyed.