Fixup sys_process

This commit is contained in:
Elad 2024-12-23 13:24:38 +02:00
parent 53817dcc90
commit 6eb4138595

View file

@ -434,9 +434,12 @@ void lv2_exitspawn(ppu_thread& ppu, std::vector<std::string>& argv, std::vector<
using namespace id_manager;
shared_ptr<utils::serial> idm_capture = make_shared<utils::serial>();
if (!is_real_reboot)
{
reader_lock rlock{g_mutex};
reader_lock rlock{id_manager::g_mutex};
g_fxo->get<id_map<lv2_memory_container>>().save(*idm_capture);
stx::serial_breathe_and_tag(*idm_capture, "id_map<lv2_memory_container>", false);
}
idm_capture->set_reading_state();