(fiber)
| 11180 | } |
| 11181 | |
| 11182 | function popHostContext(fiber) { |
| 11183 | // Do not pop unless this Fiber provided the current context. |
| 11184 | // pushHostContext() only pushes Fibers that provide unique contexts. |
| 11185 | if (contextFiberStackCursor.current !== fiber) { |
| 11186 | return; |
| 11187 | } |
| 11188 | |
| 11189 | pop(contextStackCursor, fiber); |
| 11190 | pop(contextFiberStackCursor, fiber); |
| 11191 | } |
| 11192 | |
| 11193 | return { |
| 11194 | getHostContext: getHostContext, |
no test coverage detected