Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


On 09/07/2013 09:46 AM, Lionel Elie Mamane wrote:
On Tue, Aug 20, 2013 at 10:57:06AM +0200, Stephan Bergmann wrote:
On 08/16/2013 03:46 PM, Lionel Elie Mamane wrote:
On Fri, Aug 16, 2013 at 02:55:35PM +0200, Stephan Bergmann wrote:

No real insight into any of this, but would it make sense to rely on
some explicit "commit" stimulus to do that committing, instead of
doing it upon "dispose"

I don't understand what "commit stimulus" is.

I was thinking of some "close" function (analogous to how, say, a
Java class representing a file should have an explicit close()
method rather than relying on a finalizer).

It seems the shutdown of ODatabaseContext at "dispose" time creates
other problems... E.g. https://bugs.freedesktop.org/69036

So I tried to look into this, and using a "close" that would be called
earlier makes sense to me, but in the context of application shutdown,
I don't see *who* would call it when :-| I'm a bit stuck there.

But wouldn't every "database context" be tied to some open window, or some "shell" in sfx2 speak, or somesuch, and could thus be closed when the latter is closed (which presumably happens before the UNO service manager is shut down)?

Stephan

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.