mirror of
https://github.com/chatmail/core.git
synced 2026-08-13 04:42:05 +03:00
EventThread is created in Account.__init__, but the thread start may be scheduled later. If the thread only cals dc_get_event_emitter() after some events have been emitted, EventThread will never capture such events and the tests will timeout waiting for the event. This happened in CI on a Linux runner with test_markseen_invalid_message_ids timing out waiting for DC_EVENT_MSGS_CHANGED right after sending a message.