The only way I know to disable (or better, remove, I don't need to re-enable it) an
on event in dojo is to use a handle, like this:
var myUnload = map.on("unload", unloadHandler);
In Web AppBuilder, event handlers are supposed to be made through
this.own, at least this method is used in all the widgets by ESRI. How to disable such events? Setting a handle doesn't seem possible.
What exactly does
this.own do? If I understand it right, it should save the event somewhere into the widget. But where? How can I remove it from there?