eclipsesource / eclipsesource/tabris-plugin-maps

Map not disposed when containing page is closed

Open
#22 0 comments 0 reactions 0 assignees View on GitHub
bug iOS
Dominant language
Kotlin
Stars
16
Forks
11
PR merge metrics
No merged PRs in 30d

Description

Example:

```js
let navigation = new tabris.NavigationView({left: 0, top: 0, right: 0, bottom: 0}).appendTo(tabris.ui.contentView);

new tabris.Page({title: 'Page 1'}).appendTo(navigation);

setTimeout(() => {
let page = new tabris.Page({title: 'Map'}).appendTo(navigation);

new esmaps.Map({
left: 0, right: 0, top: 0, bottom: 0
}).appendTo(page);
}, 400);
```

When the map page is closed, `ESMap.destroy` does not get called.

However, `ESMap.destroy` gets called when the map gets disposed explicitly, i.e. when `map.dispose()` is called in JavaScript.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.