MCPcopy
hub / github.com/vercel/next.js / closeSession

Function closeSession

scripts/devlow-bench.mjs:81–86  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

79 // startup browser
80 let session = await newBrowserSession({})
81 const closeSession = async () => {
82 if (session) {
83 await session.close()
84 session = null
85 }
86 }
87 cleanupTasks.push(closeSession)
88 await measureTime('browser startup', {
89 props: { turbopack, page },

Callers 2

nextBuildWorkflowFunction · 0.85
nextDevWorkflowFunction · 0.85

Calls 1

closeMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…