diff --git a/plugins/obs-outputs/rtmp-stream.c b/plugins/obs-outputs/rtmp-stream.c index d5085030b..4f7650764 100644 --- a/plugins/obs-outputs/rtmp-stream.c +++ b/plugins/obs-outputs/rtmp-stream.c @@ -98,7 +98,7 @@ static void rtmp_stream_destroy(void *data) { struct rtmp_stream *stream = data; - if (stream->active) + if (stream->connecting || stream->active) rtmp_stream_stop(data); if (stream) {