(fiber)
| 11982 | } |
| 11983 | |
| 11984 | function popHostContext(fiber) { |
| 11985 | // Do not pop unless this Fiber provided the current context. |
| 11986 | // pushHostContext() only pushes Fibers that provide unique contexts. |
| 11987 | if (contextFiberStackCursor.current !== fiber) { |
| 11988 | return; |
| 11989 | } |
| 11990 | |
| 11991 | pop(contextStackCursor, fiber); |
| 11992 | pop(contextFiberStackCursor, fiber); |
| 11993 | } |
| 11994 | |
| 11995 | return { |
| 11996 | getHostContext: getHostContext, |
no test coverage detected