changing the UNO dispose/disposing() protocol ?

Noel Grandin noelgrandin at gmail.com
Tue May 30 10:29:40 UTC 2023


On Tue, 30 May 2023 at 08:40, Miklos Vajna <vmiklos at collabora.com> wrote:

> Did you try if make check enforces the current behavior?
>
No idea.


>
> Do you have a context for this? I assume you dived into some actual
> problem and then this came up?
>
>
I am specifically looking at cleaning up memory leaks, and a lot of those
have to do with cycles forming in the UNO object graph.
A recurrent problem in cleaning this up is when something throws
DisposedException and short-circuits the dispose() logic in caller code.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20230530/71077a27/attachment.htm>


More information about the LibreOffice mailing list