Solved! Go to Solution.
dojo.disconnect
Thanks for your reply....but is it essential ?? because I have used this in my application and not able to see the big difference after using this..
//Run this code to start the listener listener = dojo.connect(layer,"onMouseOver",function(evt){ //do something on hover } //run this code to disconnect the listener dojo.disconnect(listener)