| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 3e91519 commit ae800da
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -950,6 +950,8 @@ uv_key_t Environment::thread_local_env = {}; | |||
| 950 | 950 | void Environment::Exit(int exit_code) { | |
| 951 | 951 | if (options()->trace_exit) { | |
| 952 | 952 | HandleScope handle_scope(isolate()); | |
| 953 | + Isolate::DisallowJavascriptExecutionScope disallow_js( | ||
| 954 | + isolate(), Isolate::DisallowJavascriptExecutionScope::CRASH_ON_FAILURE); | ||
| 953 | 955 | ||
| 954 | 956 | if (is_main_thread()) { | |
| 955 | 957 | fprintf(stderr, "(node:%d) ", uv_os_getpid()); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments