| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 4f3d7bb commit e2ced0d
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -159,11 +159,10 @@ void PerformanceEntry::Notify(Environment* env, | |||
| 159 | 159 | AliasedUint32Array& observers = env->performance_state()->observers; | |
| 160 | 160 | if (!env->performance_entry_callback().IsEmpty() && | |
| 161 | 161 | type != NODE_PERFORMANCE_ENTRY_TYPE_INVALID && observers[type]) { | |
| 162 | - node::MakeCallback(env->isolate(), | ||
| 163 | - object.As<Object>(), | ||
| 164 | - env->performance_entry_callback(), | ||
| 165 | - 1, &object, | ||
| 166 | - node::async_context{0, 0}); | ||
| 162 | + node::MakeSyncCallback(env->isolate(), | ||
| 163 | + object.As<Object>(), | ||
| 164 | + env->performance_entry_callback(), | ||
| 165 | + 1, &object); | ||
| 167 | 166 | } | |
| 168 | 167 | } | |
| 169 | 168 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments