This fixes an design flaw where a delayed output would schedule a stop even while in the process of reconnecting instead of just shutting down right away.
@@ -367,6 +367,10 @@ void obs_output_stop(obs_output_t *output)
return;
if (!active(output) && !reconnecting(output))
+ if (reconnecting(output)) {
+ obs_output_force_stop(output);
+ return;
+ }
encoded = (output->info.flags & OBS_OUTPUT_ENCODED) != 0;