title: How to remove the channel from pipeline when client(browser) exits in netty?
body: <p>Many clients(browser) can connect to my server(netty-server) via websockets. What i want is that whenever a client closes the tab(the url on which he was connected to my server), then the channel associated with him should also get Unregistered.But this is not happening automatically because i have created a hashset and added the clients ip to the hash set in channelRegistered(..) method and removed the ip from hashset in channelUnregistered(..) method. But it is not getting removed. Please let me know if there is another way to Unregister a channel whenever the client exits the browser(or the tab by which he is connected).Thanks.</p>