Skip to content

Commit

Permalink
Forward: when unpublish crash caused by uninitialized forward connect…
Browse files Browse the repository at this point in the history
…ion creation.(ossrs#3901)
chundonglinlin committed Dec 18, 2023

Verified

This commit was signed with the committer’s verified signature. The key has expired.
bastelfreak Tim Meusel
1 parent 2f95f2a commit eae7215
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trunk/src/app/srs_app_forward.cpp
Original file line number Diff line number Diff line change
@@ -94,7 +94,7 @@ srs_error_t SrsForwarder::on_publish()
void SrsForwarder::on_unpublish()
{
trd->stop();
sdk->close();
if (sdk) sdk->close();
}

srs_error_t SrsForwarder::on_meta_data(SrsSharedPtrMessage* shared_metadata)

0 comments on commit eae7215

Please sign in to comment.