strongloop / strong-pubsub-mqtt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

firstConnection.close is not a function

jledun opened this issue · comments

Hey,

Trying to manage connection time out, I've set connectionTimeout to 15000 in my config file.

But, in my case, firstConnection is a net.Socket => the close() function does not exist.

Everything goes fine when I use destroy() instead of close().

Do you want me to fork then create a pull request ? or you'll update that by yourself ?

Regards