mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-14 17:41:33 +03:00
unsubscribe correctly
This commit is contained in:
parent
da4c7cf7df
commit
e727ab8d87
@ -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)
|
||||
})
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user