Fix some shutdown hangs/leaks.

This commit is contained in:
2024-06-06 20:31:24 -04:00
parent c7d3e602cb
commit 9497d7cf64
2 changed files with 8 additions and 1 deletions

View File

@ -776,6 +776,10 @@ static void _tf_ssb_connection_send_history_stream_callback(tf_ssb_connection_t*
{
tf_ssb_connection_run_work(connection, _tf_ssb_connection_send_history_stream_work, _tf_ssb_connection_send_history_stream_after_work, user_data);
}
else
{
_tf_ssb_connection_send_history_stream_after_work(connection, -1, user_data);
}
}
static void _tf_ssb_connection_send_history_stream(tf_ssb_connection_t* connection, int32_t request_number, const char* author, int64_t sequence, bool keys, bool live)