Under Share hosting onOpen() is working fine but onClose() is not working.
onClose() method is working fine in localhost, but under Share hosting onOpen() is working fine but onClose() is not working and can't generating any logs. Can you help me out of this. 


Thanks you