(vc *RenderContextImpl)
| 42 | } |
| 43 | |
| 44 | func setGlobalRenderContext(vc *RenderContextImpl) { |
| 45 | globalCtxMutex.Lock() |
| 46 | defer globalCtxMutex.Unlock() |
| 47 | globalRenderContext = vc |
| 48 | globalRenderGoId = goid.Get() |
| 49 | } |
| 50 | |
| 51 | func clearGlobalRenderContext() { |
| 52 | globalCtxMutex.Lock() |
no test coverage detected