mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-18 00:12:09 +00:00
Protect action identity from mutation
Keep action identity and display metadata constructor-set so registry keys cannot drift from the objects they index. Require sources to publish unique ownership while the registry retains shared keepalive for runs. Preserve opaque IDs and persisted state keys.
This commit is contained in:
@@ -255,7 +255,7 @@ private:
|
||||
if (!a)
|
||||
return;
|
||||
const bool ask = reg.should_ask(id);
|
||||
const std::string atitle = a->title; // capture before Dismiss; `a` may not outlive it
|
||||
const std::string atitle = a->title(); // capture before Dismiss; `a` may not outlive it
|
||||
Dismiss(); // launcher gone before the modal / the script's own UI
|
||||
|
||||
if (ask) {
|
||||
|
||||
Reference in New Issue
Block a user