[Groonga-commit] nroonga/nroonga at 134744c [master] Fix using Nan::HandleScope

Zurück zum Archiv-Index

abetomo null+****@clear*****
Tue Sep 5 11:24:38 JST 2017


abetomo	2017-09-05 11:24:38 +0900 (Tue, 05 Sep 2017)

  New Revision: 134744c04df0f53a7d5ae16a0c9c265fb3a770d7
  https://github.com/nroonga/nroonga/commit/134744c04df0f53a7d5ae16a0c9c265fb3a770d7

  Merged aa61187: Merge pull request #13 from abetomo/use_nan_helper_method

  Message:
    Fix using Nan::HandleScope

  Modified files:
    src/nroonga.cc

  Modified: src/nroonga.cc (+2 -2)
===================================================================
--- src/nroonga.cc    2017-09-05 11:24:03 +0900 (c6dd0f0)
+++ src/nroonga.cc    2017-09-05 11:24:38 +0900 (b21bc62)
@@ -111,8 +111,8 @@ void Database::CommandWork(uv_work_t* req) {
 }
 
 void Database::CommandAfter(uv_work_t* req) {
-  Isolate* isolate = Isolate::GetCurrent();
-  HandleScope scope(isolate);
+  Nan::HandleScope scope;
+
   Baton* baton = static_cast<Baton*>(req->data);
   Handle<Value> argv[2];
   if (baton->error) {
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Zurück zum Archiv-Index