what is the correct way to completely destroy an instance?
At the moment, I'm calling end(), and then de-referencing the object - but not using a callback because I anticipate that the callback would not be called if the socket(s) had not connected (due to error or just not yet...)?
I'm also calling endNotify() on the two GPIs that were being monitored (probably after end...).
Is there anything else I need to do?
Hi,
what is the correct way to completely destroy an instance?
At the moment, I'm calling end(), and then de-referencing the object - but not using a callback because I anticipate that the callback would not be called if the socket(s) had not connected (due to error or just not yet...)? I'm also calling endNotify() on the two GPIs that were being monitored (probably after end...). Is there anything else I need to do?
br, Simon