thani-sh/ddp-connect

`reconnect` event is fired multiple times

thani-sh opened this issue · 1 comments

The reconnect event is fired multiple times. The count increases each time the ddp server is restarted. Must find a way to end previous connections.

The callback function DDPConnect(url, opts, callback) runs each time ddp connects/reconnects to the server.