projects
/
ldk-java
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update CI references to 0.0.112
[ldk-java]
/
node-net
/
net.mts
diff --git
a/node-net/net.mts
b/node-net/net.mts
index 58da387d6c59177c363e2777f31091079558caf4..797bc7a7a47907920d9b00039d643cd82cd21133 100644
(file)
--- a/
node-net/net.mts
+++ b/
node-net/net.mts
@@
-82,6
+82,9
@@
export class NodeLDKNet {
socket.on("close", function() {
this_pm.socket_disconnected(descriptor);
});
socket.on("close", function() {
this_pm.socket_disconnected(descriptor);
});
+ socket.on("error", function() {
+ this_pm.socket_disconnected(descriptor);
+ });
return descriptor;
}
return descriptor;
}