Merge pull request #449 from chaironeko/mantis-163-quit-crash

obs-outputs: Fix crash with quit while connecting
This commit is contained in:
Jim 2015-07-07 23:09:26 -07:00
commit e28f2690dd

View File

@ -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) {