mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 07:07:23 +00:00
LibGemini+LibHTTP: Defer did_progress call to match other callbacks
This commit is contained in:
committed by
Andreas Kling
parent
4214680e76
commit
87cb28fcf7
@@ -268,7 +268,7 @@ void Job::on_socket_connected()
|
||||
content_length = length;
|
||||
}
|
||||
|
||||
did_progress(content_length, m_received_size);
|
||||
deferred_invoke([this, content_length](auto&) { did_progress(content_length, m_received_size); });
|
||||
|
||||
if (content_length.has_value()) {
|
||||
auto length = content_length.value();
|
||||
|
||||
Reference in New Issue
Block a user