| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent e808ee6 commit 5fe011a
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -56,6 +56,7 @@ struct napi_env__ { | |||
| 56 | 56 | : isolate(context->GetIsolate()), | |
| 57 | 57 | context_persistent(isolate, context) { | |
| 58 | 58 | CHECK_EQ(isolate, context->GetIsolate()); | |
| 59 | + napi_clear_last_error(this); | ||
| 59 | 60 | } | |
| 60 | 61 | virtual ~napi_env__() { | |
| 61 | 62 | // First we must finalize those references that have `napi_finalizer` | |
| Back | FazBrowse Home | New Git URL |
0 commit comments