diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-08-12 00:42:07 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-08-12 00:56:52 +0800 |
| commit | d5a039e9d882f8f50b3cc9cdc10bc7bd84a5fa4d (patch) | |
| tree | c0ae87e58690685183e28925a4bc7b42188f2162 /mingling_core/tmpls | |
| parent | 5f8bd86c982dbfb3d8ed47f84432a3347752157f (diff) | |
refactor(core): extract global resource store into standalone container
Refactor `GlobalResources` from a type-erased `Arc<Mutex<HashMap<...>>>`
alias into a `GlobalResContainer` struct with per-resource mutexes.
This prevents nested `modify_res` calls from deadlocking, allows
independent containers to coexist, and keeps `Program`'s public
resource API unchanged.
Diffstat (limited to 'mingling_core/tmpls')
0 files changed, 0 insertions, 0 deletions
