Addressing final review comments.

This commit is contained in:
ahocevar
2012-08-18 18:56:36 +02:00
parent 88572303fb
commit e04d7cd627
4 changed files with 33 additions and 6 deletions

View File

@@ -198,7 +198,7 @@ OpenLayers.WPSClient = OpenLayers.Class({
this.events.register('describeprocess', this, function describe(evt) {
if (evt.identifier === processID) {
this.events.unregister('describeprocess', this, describe);
callback.call(scope, evt);
callback.call(scope, evt.raw);
}
});
}
@@ -209,6 +209,15 @@ OpenLayers.WPSClient = OpenLayers.Class({
}
},
/**
* Method: destroy
*/
destroy: function() {
this.events.destroy();
this.events = null;
this.servers = null;
},
CLASS_NAME: 'OpenLayers.WPSClient'
});