Am Freitag, dem 26.12.2025 um 14:55 +0100 schrieb Jürgen Spitzmüller:
> However, refillToolbars() can be expensive as well. And if I
> understand correctly that the theme change here does not
> (necessarily) involve a change from dark to light, we could also use
> the attached patch to refill toolbars only if the latter happened.

Thinking more about it I concluded that this patch makes sense anyway,
and it will definitely have an impact in the case in point (though I
don't know whether it fixes what you call a "memory leak").

So I committed an enhanced version of it at 9b57990e43

This is candidate for 2.5.x and 2.4.x.

-- 
Jürgen
-- 
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to