This project is read-only.

How to make sure a websocket is deleted?

Feb 24, 2015 at 8:44 AM
In my case I had to new a websocket once the last used more than 1 minute to connect.

however I found that the previous websocket which was trying to connect was still there and it was opened after 1 minute.

Can websocket = null indicate a websocket object is no longer used? Will it get garbage collected after I set the reference to it to null?