I wrote an application using dojo that allocates a lot of data over its lifetime. Is there any way to guarantee that all memory was released when I finished?
Is there a similar method dojo.data.destroyAllStores()that I can use with a tag <body onunload>?
dojo.data.destroyAllStores()
<body onunload>
Thanks.
You plan to use "onunload", so I think you want to free up memory when users leave the page.
Javascript , HTML-, , ( javascript GC).
, DOM javascript ( , DOM JS GC). .
DOM/JS.
Source: https://habr.com/ru/post/1702228/More articles:Entering a recommendation to a recursive method in Spring.Net? - c #How to get Visual Web Developer to use IIS and not ASP.NET development server? - asp.netHow to find out if you are connected to the Internet - c #Проблемы с запуском приложения ASP.NET с IIS - asp.netDynamic naming of PHP objects - phpSlow operations in the Model-View-Presenter - user-interfaceLinux newbie: Linux vs POSIX manual - linuxData structures in the JDK, in which scenario, which one to use? - javaproduct to reduce C ++ compilation time? - c ++Can AWE use> 4 GB of RAM in SQL Server 2005 for Windows XP 32-bit edition - sql-serverAll Articles