Fix crash on exit if a process is currently running
This commit is contained in:
parent
9955890023
commit
32ca9d41de
3 changed files with 31 additions and 1 deletions
|
|
@ -594,6 +594,11 @@ main(int argc, char *argv[]) {
|
|||
BOOST_LOG(error) << "Platform failed to initialize"sv;
|
||||
}
|
||||
|
||||
auto proc_deinit_guard = proc::init();
|
||||
if (!proc_deinit_guard) {
|
||||
BOOST_LOG(error) << "Proc failed to initialize"sv;
|
||||
}
|
||||
|
||||
reed_solomon_init();
|
||||
auto input_deinit_guard = input::init();
|
||||
if (video::probe_encoders()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue