Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ufk-dev] Stale reference in List and Table models

Hi,

I've fixed the problem in trunk. Thanks for the bug report.

Tom

Am 23.08.10 10:45, schrieb Tom Schindl:
> Hi,
> 
> Looks like a bug. Can you file a bug and I'll fix it (hopefully before I
> start my vacation on Wednesday).
> 
> I'm not available from Wednesday for 2 weeks so take that into account
> if I don't come back to you.
> 
> The Swing stuff is not yet as stable as other parts of UFaceKit like
> SWT. Are you by chance interested to work on the Swing integration of
> Eclipse Databinding?
> 
> Tom
> 
> Am 23.08.10 10:15, schrieb Max Gordienko:
>> Hi guys,
>>
>> Both ObservableListModel and ObservableListTableModel create a
>> collection of IObservableMaps in the constructor.
>> Logically this collection is bound to the life-cycle of the data list
>> (IObservableList - the first argument in the constructor).
>> If the provided list is disposed, the IObservableMaps will be the
>> listeners to the  list element property change while holding the
>> reference to the "stale" list. Any change in a list element will raise
>> AssertionFailedException.
>>
>> I believe the dispose() method is missed in these two models which
>> must dispose the collection of IObservableMaps.
>> Any thoughts?
>>
>> Thanks.
>> _______________________________________________
>> ufk-dev mailing list
>> ufk-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/ufk-dev
> 
> 


-- 
B e s t S o l u t i o n . a t                        EDV Systemhaus GmbH
------------------------------------------------------------------------
tom schindl                                        geschaeftsfuehrer/CEO
------------------------------------------------------------------------
eduard-bodem-gasse 5/1    A-6020 innsbruck      phone    ++43 512 935834


Back to the top