In my application, it's common to have events with nil arguments. Example. Without this fix I always get reflect: Call using zero Value argument error.
This fix also should slightly increase performance by allocating all necessary memory to store arguments immediately.
In my application, it's common to have events with
nil
arguments. Example. Without this fix I always getreflect: Call using zero Value argument
error.This fix also should slightly increase performance by allocating all necessary memory to store arguments immediately.