diff --git a/src/process.cpp b/src/process.cpp index c6cf48b2..26e2c0a3 100644 --- a/src/process.cpp +++ b/src/process.cpp @@ -87,7 +87,8 @@ namespace proc { // We always call terminate() even if we waited successfully for all processes above. // This ensures the process group state is consistent with the OS in boost. - group.terminate(); + std::error_code ec; + group.terminate(ec); group.detach(); } diff --git a/src/rtsp.cpp b/src/rtsp.cpp index a6abd9c1..be739313 100644 --- a/src/rtsp.cpp +++ b/src/rtsp.cpp @@ -588,10 +588,6 @@ namespace rtsp_stream { i++; } } - - if (all && !ios.stopped()) { - ios.stop(); - } } /**