| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 0ddad76 commit 1dddfec
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -254,7 +254,8 @@ class ContextifyContext { | |||
| 254 | 254 | Environment* env = Environment::GetCurrent(args); | |
| 255 | 255 | if (debug_context.IsEmpty()) { | |
| 256 | 256 | // Force-load the debug context. | |
| 257 | - Debug::GetMirror(args.GetIsolate()->GetCurrentContext(), args[0]); | ||
| 257 | + auto dummy_event_listener = [] (const Debug::EventDetails&) {}; | ||
| 258 | + Debug::SetDebugEventListener(args.GetIsolate(), dummy_event_listener); | ||
| 258 | 259 | debug_context = Debug::GetDebugContext(args.GetIsolate()); | |
| 259 | 260 | CHECK(!debug_context.IsEmpty()); | |
| 260 | 261 | // Ensure that the debug context has an Environment assigned in case | |
| Back | FazBrowse Home | New Git URL |
0 commit comments