mirror of
https://github.com/element-hq/synapse.git
synced 2026-05-02 05:36:14 +00:00
abdefb8a01
If the verify_request.deferred has already completed, then `remove_deferreds` will be called immediately. It therefore might resolve the server_to_deferred deferred while there are still other requests for that server in flight. To avoid that, we should build the complete list of requests, and *then* add the callbacks.