mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-01 23:30:02 +08:00
EventBus.reset cleared the class singleton (_instance/_initialized) but not the module-level _event_bus that get_event_bus caches. After a reset, get_event_bus kept returning the previous, stopped bus (_running=False, processor task cancelled), while a direct EventBus() built a fresh one — the two singleton paths diverged. Reset the module-level reference too. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>