(fiber)
| 11941 | } |
| 11942 | |
| 11943 | function popHostContext(fiber) { |
| 11944 | // Do not pop unless this Fiber provided the current context. |
| 11945 | // pushHostContext() only pushes Fibers that provide unique contexts. |
| 11946 | if (contextFiberStackCursor.current !== fiber) { |
| 11947 | return; |
| 11948 | } |
| 11949 | |
| 11950 | pop(contextStackCursor, fiber); |
| 11951 | pop(contextFiberStackCursor, fiber); |
| 11952 | } |
| 11953 | |
| 11954 | return { |
| 11955 | getHostContext: getHostContext, |
no test coverage detected