dbus-native
dbus-native copied to clipboard
problem if call bus.connection.end(); too early
if i create sessionBus start use it and without delay call bus.connection.end(); i have errors like
Uncaught Error: read ECONNRESET
at errnoException (net.js:901:11)
at Pipe.onread (net.js:556:19)
Uncaught Error: read ECONNRESET
at errnoException (net.js:901:11)
at Pipe.onread (net.js:556:19)
Thanks, I can reproduce it. I'll probably rewrite end() so it'll close stream gracefully after all pending messages are sent (in this case hanshake message sent to closed stream)
This still happens, which is causing me problems. Are there plans to fix this?