π Bug Fix: Duplicate Event Processing
Pre-release
Pre-release
π Bug Fix: Duplicate Event Processing
Fixed critical bug where events were being processed twice, causing duplicate event handler executions.
What Changed
- Before: Events were processed through both
process_events()andemit_events(), causing duplicate execution - After: Events are now processed exactly once through
EventEmitter, which handles routing internally
Impact
β
Events processed exactly once
β
Improved performance
β
Simplified internal API
β
No breaking changes for end users
Technical Details
- Removed duplicate processing logic from
EventProcessor - Simplified
EventProcessorAPI (removedcontainerandmiddleware_chainparameters) EventEmitternow handles all event routing (DomainEvent β handlers, NotificationEvent β broker)