Skip to content

Commit

Permalink
Mark onResetStreamStarted as direct connection
Browse files Browse the repository at this point in the history
Not strictly necessary since this should always be on the same thread
anyway, but this communicates our intent that this function needs to run
in lockstep.
  • Loading branch information
askmeaboutlo0m committed Aug 30, 2024
1 parent 1cbfa04 commit 4cba11e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libclient/document.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ Document::Document(
&Document::onSessionResetted);
connect(
m_client, &net::Client::streamResetStarted, this,
&Document::onStreamResetStarted);
&Document::onStreamResetStarted, Qt::DirectConnection);
connect(
m_client, &net::Client::streamResetProgressed, this,
&Document::onStreamResetProgressed);
Expand Down

0 comments on commit 4cba11e

Please sign in to comment.