arnaudleclerc / ng-azure-maps

Angular wrapper around azure maps
MIT License
16 stars 14 forks source link

"Object Unsubscribed" Error On Component Destroy #34

Closed profezzional closed 3 years ago

profezzional commented 3 years ago

When navigating away from a page with the azure-maps component loaded on it, two "object unsubscribed" errors appear in the browser console: image When omitting the maps component, the error doesn't show up. The component works as expected otherwise.

Using Angular 11.1.2 on the latest Chrome version.

arnaudleclerc commented 3 years ago

Thanks for pointing it out! I'll fix that, but I probably won't be able to do it until next week. I'll let you when it's done.

arnaudleclerc commented 3 years ago

@profezzional This should now be fixed in the version 3.5.2. Please give it a try and let me know if this works for you. Feel free to reopen this issue if the problem persists.