Plugin events not unregistered propertly
Plugins events are not unregistered after calling project.map.removeAllListeners()
. This can be seen with the exploration plugin which results in
[2019-02-12 06:32:17.236] [WARN] [default] - Cannot remove listener. It doesn't exist onSearch function (e) {
return getFullElements(map, e.arg.identifiedElements).then(function (result) {
return param.callback(result);
});
}
minerva.js.xhtml?ln=js&m_version=6e5a023fa598ba67a95b74cb493123d3eec183e7:51356 [2019-02-12 06:32:17.239] [WARN] [default] - Cannot remove listener. It doesn't exist onResize function () {
return param.callback();
}
minerva.js.xhtml?ln=js&m_version=6e5a023fa598ba67a95b74cb493123d3eec183e7:51356 [2019-02-12 06:32:17.242] [WARN] [default] - 'Map exploration' plugin didn't remove all registered listeners
But the plugin, indeed, registers the two above mentioned listeners.
Edited by Piotr Gawron