Skip to content

Commit 7617e6a

Browse files
authored
Merge pull request #61 from mapswipe/fix/explicitly-remove-viewer-on-unmounted
fix(street): explicitly remove Mapillary viewer on unmounted to avoid…
2 parents cab915b + a34b654 commit 7617e6a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/components/StreetProjectTask.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ export default defineComponent({
5757
mounted() {
5858
this.initialiseViewer(this.taskId)
5959
},
60+
unmounted() {
61+
this.viewer.remove()
62+
},
6063
})
6164
</script>
6265

0 commit comments

Comments
 (0)