()
| 305 | // Then restore the correct hooks array in case any hooks were added/removed |
| 306 | // during hook callback execution. |
| 307 | function restoreActiveHooks() { |
| 308 | active_hooks.array = active_hooks.tmp_array; |
| 309 | copyHooks(async_hook_fields, active_hooks.tmp_fields); |
| 310 | |
| 311 | active_hooks.tmp_array = null; |
| 312 | active_hooks.tmp_fields = null; |
| 313 | } |
| 314 | |
| 315 | function trackPromise(promise, parent) { |
| 316 | if (promise[async_id_symbol]) { |
no test coverage detected
searching dependent graphs…