You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(hardening): defensive JSON.parse in undo restore() + interval-handle cleanup + parameter_memory DB row guards
3 CRIT defects (would crash entire LiteGraph canvas on corrupted widget data):
- js/spline_mask_tracker.js: restore() now try/catches malformed snapshots, validates shape
- js/points_bbox_editor.js: same defensive pattern in restore()
- js/spline_mask_editor.js: same defensive pattern in restore()
2 HIGH memory leaks (interval kept polling after page unload):
- js/mec_complexity_hud.js: setInterval handle stored + cleared on beforeunload
- js/mec_token_counter.js: setInterval handle stored + cleared on beforeunload
2 HIGH DB hazards (one corrupted row would abort entire history query):
- nodes/parameter_memory.py: try/catch json.loads in _get_history and _diff_runs;
malformed rows are now skipped with a warning instead of crashing the node.
0 commit comments