Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-dev] Track SWT allocations

That's it, thanks Laurent.

is there any description how this works?

I put for example in one of my views:

	new Font(parent.getDisplay(), parent.getFont().getFontData());

and get "not properly disposed" but at a time where the view is already opened, so is this triggered by garbage collection somehow? Or if the parent is disposed?

Am 15.04.21 um 16:51 schrieb Laurent Caron:
Hi Christoph,

I think it is |org.eclipse.swt.graphics.Resource.reportNonDisposed|
(see https://www.eclipse.org/eclipse/news/4.19/platform_isv.php <https://www.eclipse.org/eclipse/news/4.19/platform_isv.php>)

Regards,

Laurent

Le jeu. 15 avr. 2021 à 16:48, Christoph Läubrich <laeubi@xxxxxxxxxxxxxx <mailto:laeubi@xxxxxxxxxxxxxx>> a écrit :

    I think I read in recent release notes that there is a new
    system-property to allow for tracking of resource allocation (or
    missing
    de-allocations?) but can't find it anymore. Any tips?
    _______________________________________________
    platform-dev mailing list
    platform-dev@xxxxxxxxxxx <mailto:platform-dev@xxxxxxxxxxx>
    To unsubscribe from this list, visit
    https://www.eclipse.org/mailman/listinfo/platform-dev
    <https://www.eclipse.org/mailman/listinfo/platform-dev>


_______________________________________________
platform-dev mailing list
platform-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/platform-dev



Back to the top