[英]What is the controller responsibility in ExtJS? Events in instance of Ext.window.Window?
[英]How free memory after using `Ext.window.Window` class instance?
我正在使用Extjs-6開發我的應用程序。 我的應用程序中最多有20個控制器。 在所有這些控制器中,有時,這些控制器顯示一個Ext.window.Window
類實例,然后用戶關閉此窗口(另一方面,All控制器可以顯示一個彈出窗口)。
我使用destroy
函數關閉window
是否正確? 這會釋放記憶嗎? 這樣不會發生泄漏記憶? 一句話, 什么是最好的 ?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.