diff --git a/main/lib/urb.js b/main/lib/urb.js index 794e99edc..46db0d45c 100644 --- a/main/lib/urb.js +++ b/main/lib/urb.js @@ -84,8 +84,7 @@ window.urb.unsubscribe = function(params,cb) { var $this = this this.req(method,url,params,true,function(err,data) { - $this.cabs[$this.gsig(params)]('subscription closed') - delete $this.cabs[$this.gsig(params)] + cb(err,data) }) }