Commit c8d7cdaf authored by nanahira's avatar nanahira

fix

parent f0b61497
...@@ -367,6 +367,7 @@ class ResolveData ...@@ -367,6 +367,7 @@ class ResolveData
resolve: (err, data) -> resolve: (err, data) ->
if @resolved if @resolved
return false return false
@resolved = true
@func(err, data) @func(err, data)
return true return true
......
...@@ -472,6 +472,7 @@ ...@@ -472,6 +472,7 @@
if (this.resolved) { if (this.resolved) {
return false; return false;
} }
this.resolved = true;
this.func(err, data); this.func(err, data);
return true; 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