mirror of
https://github.com/mark3labs/kit.git
synced 2026-06-14 03:30:26 +00:00
22c479277e
Extensions running via the SDK (without a fully-wired SetExtensionContext call) would panic with 'reflect.Value.Call: call of nil function' when calling any ctx method like ctx.PrintBlock(). normalizeContext() now replaces every nil function field in Context with a safe no-op stub before storing it in the runner, so extension handlers can never crash on a missing callback regardless of how Kit is embedded.