Commit 69a9eafa by Konstantin Käfer

not a local handle, so we don't need to close the scope

parent 6a3aa878
......@@ -207,7 +207,7 @@ Handle<Value> Statement::Finalize(const Arguments& args) {
Baton* baton = new Baton(stmt, callback);
stmt->Schedule(Finalize, baton);
return scope.Close(stmt->db->handle_);
return stmt->db->handle_;
}
void Statement::Finalize(Baton* baton) {
......
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