changing the UNO dispose/disposing() protocol ?

Miklos Vajna vmiklos at collabora.com
Tue May 30 06:40:00 UTC 2023


Hi Noel,

On Sun, May 28, 2023 at 04:02:21PM +0200, Noel Grandin <noelgrandin at gmail.com> wrote:
> I would like to change the existing UNO dispose()/disposing() protocol.
> 
> Specifically, I would like to change the part where if a component is
> already disposed, it throws a DisposedException. Instead it should simply
> ignore the call (i.e. return early)

That's indeed how file close / DB close usually happens in other
projects, I think.

Did you try if make check enforces the current behavior?

Do you have a context for this? I assume you dived into some actual
problem and then this came up?

Thanks,

Miklos


More information about the LibreOffice mailing list