Christoph* On Thu, Apr 15, 2021 at 8:17 PM Wim Jongman <wim.jong...@gmail.com> wrote:
> Hi Christophe, > > > This is triggered when the widget is garbage collected (but was not > disposed). Just set the property as described in the N&N. It works really > nice. > > https://bugs.eclipse.org/bugs/show_bug.cgi?id=569752 > > Cheers, > > Wim > > > On Thu, Apr 15, 2021 at 5:16 PM Christoph Läubrich <lae...@laeubi-soft.de> > wrote: > >> 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 <lae...@laeubi-soft.de >> > <mailto:lae...@laeubi-soft.de>> 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@eclipse.org <mailto:platform-dev@eclipse.org> >> > 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@eclipse.org >> > To unsubscribe from this list, visit >> https://www.eclipse.org/mailman/listinfo/platform-dev >> > >> _______________________________________________ >> platform-dev mailing list >> platform-dev@eclipse.org >> To unsubscribe from this list, visit >> https://www.eclipse.org/mailman/listinfo/platform-dev >> >
_______________________________________________ platform-dev mailing list platform-dev@eclipse.org To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/platform-dev