An EventBus hangs when a listener publishes another event or subscribes a listener. Fix it without losing thread safety. Publish must deliver to a snapshot of listeners present at that publish; new subscriptions affect subsequent publishes only. Preserve callback order, invoke callbacks without holding the bus lock, and propagate callback exceptions. Only bus.py may change; run tests.