MCPcopy
hub / github.com/gofiber/fiber / ForceRelease

Method ForceRelease

ctx_interface_gen.go:178–178  ·  view source on GitHub ↗

ForceRelease releases an abandoned context back to the pool. This MUST only be called after all goroutines (including requestHandler and ErrorHandler) have completely finished using this context. Calling it while any goroutine is still running causes races.

()

Source from the content-addressed store, hash-verified

176 // ErrorHandler) have completely finished using this context. Calling it while
177 // any goroutine is still running causes races.
178 ForceRelease()
179 // ScheduleReclaim arms automatic reclamation of an abandoned context, returning
180 // it to the pool once it is safe to do so.
181 //

Calls

no outgoing calls