Frontmatter
| id | 1687 |
| title | component.Base: destroy() => destroy the model instance, in case it does exist |
| state | Closed |
| labels | enhancement |
| assignees | tobiu |
| createdAt | Mar 31, 2021, 5:51 PM |
| updatedAt | Mar 31, 2021, 5:55 PM |
| githubUrl | https://github.com/neomjs/neo/issues/1687 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Mar 31, 2021, 5:55 PM |
the logic is not correct yet.
removeBindings()needs to get called on the parent model while a connected model needs to get destroyed.