dbus-native icon indicating copy to clipboard operation
dbus-native copied to clipboard

problem if call bus.connection.end(); too early

Open AlexMarlo opened this issue 12 years ago • 2 comments

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)

AlexMarlo avatar Jul 19 '13 10:07 AlexMarlo

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)

sidorares avatar Jul 22 '13 00:07 sidorares

This still happens, which is causing me problems. Are there plans to fix this?

pimterry avatar Jul 13 '17 12:07 pimterry