MCPcopy Create free account
hub / github.com/php/frankenphp / afterRequest

Method afterRequest

threadregular.go:126–132  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

124}
125
126func (handler *regularThread) afterRequest() {
127 handler.contextHolder.frankenPHPContext.closeContext()
128 handler.thread.contextMu.Lock()
129 handler.contextHolder.frankenPHPContext = nil
130 handler.ctx = nil
131 handler.thread.contextMu.Unlock()
132}
133
134func handleRequestWithRegularPHPThreads(ch contextHolder) error {
135 metrics.StartRequest()

Callers 1

afterScriptExecutionMethod · 0.95

Calls 1

closeContextMethod · 0.80

Tested by

no test coverage detected