Frontmatter
| id | 669 |
| title | App needs to know when main threads disconnect |
| state | Closed |
| labels | enhancement |
| assignees | tobiu |
| createdAt | Jun 5, 2020, 7:36 AM |
| updatedAt | Jun 15, 2020, 11:37 AM |
| githubUrl | https://github.com/neomjs/neo/issues/669 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jun 15, 2020, 11:37 AM |

Not sure if there is a clean way implemented already.
todo: Check if there are interfaces in place (PortCollection?)
If not, we can (have) to go for window.beforeunload.