EventBus
EventBus copied to clipboard
fix(event_bus): add additional check for functions that can have same pointer
Creating functions within a loop in Go can result in unexpected behavior, such as multiple functions sharing the same pointer value.
The reflect.DeepEqual(handler.callBack, callback)
check has been includedas a final measure to distinguish between different values, particularly when the pointers and types are identical.