@xuda.io/runtime-bundle 1.0.350 → 1.0.352
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -9019,8 +9019,8 @@ func.UI.garbage_collector = function (SESSION_ID = Object.keys(SESSION_OBJ)[0],
|
|
|
9019
9019
|
if (!_data_system?.SYS_GLOBAL_BOL_IDLE) return;
|
|
9020
9020
|
|
|
9021
9021
|
for (const [key, val] of Object.entries(_data_system?.SYS_GLOBAL_OBJ_REFS || {})) {
|
|
9022
|
-
if (
|
|
9023
|
-
delete _data_system.
|
|
9022
|
+
if (!$(`[xu-ui-id='${val?.$el.attr('xu-ui-id')}'`)?.length) {
|
|
9023
|
+
delete _data_system.SYS_GLOBAL_OBJ_REFS[key];
|
|
9024
9024
|
}
|
|
9025
9025
|
}
|
|
9026
9026
|
|
|
@@ -9020,8 +9020,8 @@ func.UI.garbage_collector = function (SESSION_ID = Object.keys(SESSION_OBJ)[0],
|
|
|
9020
9020
|
if (!_data_system?.SYS_GLOBAL_BOL_IDLE) return;
|
|
9021
9021
|
|
|
9022
9022
|
for (const [key, val] of Object.entries(_data_system?.SYS_GLOBAL_OBJ_REFS || {})) {
|
|
9023
|
-
if (
|
|
9024
|
-
delete _data_system.
|
|
9023
|
+
if (!$(`[xu-ui-id='${val?.$el.attr('xu-ui-id')}'`)?.length) {
|
|
9024
|
+
delete _data_system.SYS_GLOBAL_OBJ_REFS[key];
|
|
9025
9025
|
}
|
|
9026
9026
|
}
|
|
9027
9027
|
|