Commit 072343dd authored by nanahira's avatar nanahira

Merge branch 'master' into tcg_random

parents 134db817 efeac6cb
......@@ -495,6 +495,7 @@ class ResolveData
resolve: (err, data) ->
if @resolved
return false
@resolved = true
@func(err, data)
return true
......
......@@ -637,6 +637,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