Your Universal Remote Control Center
RemoteCentral.com
Philips Pronto Professional Forum - View Post
Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Original thread:
Post 10 made on Friday February 13, 2009 at 23:41
bodshal
Long Time Member
Joined:
Posts:
January 2009
16
What I have done before, roughly:

try {
sock.connect(host, port, 3000);
} catch(e) {
sock.close();
}

Setting the "sock" to null does not guarantee immediate (or even 'soon') destruction, and thus no cleanup.

Chris.


Hosting Services by ipHouse