fragment: unbind fragment-update listener at removal

This commit is contained in:
jean-emmanuel 2022-01-09 17:45:26 +01:00
parent 518bcbb39b
commit 7a216a5da7

View file

@ -67,7 +67,7 @@ class Fragment extends Container() {
if (path === this.getProp('file')) {
this.createFragment()
}
})
}, {context: this})
if (this.getProp('file')) {
if (sessionManager.getFragment(this.getProp('file'))) {