metarhia / jstp

Fast RPC for browser and Node.js based on TCP, WebSocket, and MDSF
https://metarhia.github.io/jstp
Other
142 stars 10 forks source link

lib: fix invalid args handling in reconnectFn() #411

Closed belochub closed 5 years ago

belochub commented 5 years ago

Before, when the transport was passed to the reconnectFn(), it was then not removed from the argument list before passing it on to the transport.reconnect() method.

Co-authored-by: Dmytro Nechai nechaido@gmail.com

belochub commented 5 years ago

Landed in https://github.com/metarhia/jstp/commit/3f5d89066956ab56360c4ff173c096d763cf375a.