Commit c8d7cdaf authored by nanahira's avatar nanahira

fix

parent f0b61497
......@@ -367,6 +367,7 @@ class ResolveData
resolve: (err, data) ->
if @resolved
return false
@resolved = true
@func(err, data)
return true
......
......@@ -472,6 +472,7 @@
if (this.resolved) {
return false;
}
this.resolved = true;
this.func(err, data);
return true;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment