mirror of
https://github.com/sartography/bpmn-js.git
synced 2025-01-11 09:36:07 +00:00
fix(Modeler): clear ids on destroy
This commit is contained in:
parent
37eca38dac
commit
1a62e5925b
@ -108,6 +108,10 @@ function Modeler(options) {
|
||||
this._collectIds(event.definitions, event.context);
|
||||
}
|
||||
}, this);
|
||||
|
||||
this.on('diagram.destroy', function() {
|
||||
this.moddle.ids.clear();
|
||||
}, this);
|
||||
}
|
||||
|
||||
inherits(Modeler, Viewer);
|
||||
|
Loading…
x
Reference in New Issue
Block a user