Author: ktlili Date: Wed Oct 17 17:12:03 2007 New Revision: 18911 URL: https://svndev.jahia.net/websvn/listing.php?sc=3D1&rev=3D18911&repname= =3Djahia Log: - add Event.observe(window, 'unload', Event.unloadCache);
This method fix severals mem. leaks caused by prototype. More informations: http://www.prototypejs.org/api/event/unloadCache http://wrongnotes.blogspot.com/2007/03/stopping-memory-leaks-with-prototype= .html Modified: branches/JAHIA-5-0-SP-BRANCH/core/src/webapp/jsp/jahia/chat/chat.jsp Modified: branches/JAHIA-5-0-SP-BRANCH/core/src/webapp/jsp/jahia/chat/chat.= jsp URL: https://svndev.jahia.net/websvn/diff.php?path=3D/branches/JAHIA-5-0-SP= -BRANCH/core/src/webapp/jsp/jahia/chat/chat.jsp&rev=3D18911&repname=3Djahia =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- branches/JAHIA-5-0-SP-BRANCH/core/src/webapp/jsp/jahia/chat/chat.jsp (o= riginal) +++ branches/JAHIA-5-0-SP-BRANCH/core/src/webapp/jsp/jahia/chat/chat.jsp We= d Oct 17 17:12:03 2007 @@ -367,6 +367,8 @@ checkMessages(); } = +// break memory leaks +Event.observe(window, 'unload', Event.unloadCache); = </script> </head> _______________________________________________ cvs_list mailing list [email protected] http://lists.jahia.org/cgi-bin/mailman/listinfo/cvs_list
