View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001495 | NoesisGUI | C++ SDK | public | 2019-06-18 07:44 | 2019-06-26 20:51 |
| Reporter | nikobarli | Assigned To | sfernandez | ||
| Priority | normal | Severity | block | ||
| Status | resolved | Resolution | fixed | ||
| Product Version | 2.2.3 | ||||
| Target Version | 2.2.4 | Fixed in Version | 2.2.4 | ||
| Summary | 0001495: VM instance bound to a UI element is not destroyed even after the bind target is nulled. | ||||
| Description | Follow up from https://www.noesisengine.com/forums/viewtopic.php?f=3&t=1714 So we have a code like this xaml C++ class BindingCollectionVM : public BaseComponent, public INotifyPropertyChanged
We expect that when the ButtonCmd is fired, m_item is reset, then the ItemVM instance we created will be destroyed. However, it seems that the FrameworkElement still hold the reference preventing the destruction. (as for the appearance, the ItemVM is correctly disappeared from the UI after the reset) If for example, we create another instance of ItemVM and assign it to m_item, then the previous instance is correctly destroyed. | ||||
| Platform | Windows | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2019-06-18 07:44 | nikobarli | New Issue | |
| 2019-06-18 10:01 | sfernandez | Assigned To | => sfernandez |
| 2019-06-18 10:01 | sfernandez | Status | new => assigned |
| 2019-06-18 17:00 | sfernandez | Target Version | => 2.2.4 |
| 2019-06-26 20:51 | sfernandez | Status | assigned => resolved |
| 2019-06-26 20:51 | sfernandez | Resolution | open => fixed |
| 2019-06-26 20:51 | sfernandez | Fixed in Version | => 2.2.4 |