vi: ignore shared buffer destruction failure on termination

This commit is contained in:
Liam 2024-02-20 00:02:56 -05:00
parent 668ff0db3a
commit 5f7608a7c6

View File

@ -285,7 +285,7 @@ void SharedBufferManager::DestroySession(Kernel::KProcess* owner_process) {
auto& session = it->second;
// Destroy the layer.
R_ASSERT(m_container.DestroyStrayLayer(session.layer_id));
m_container.DestroyStrayLayer(session.layer_id);
// Close nvmap handle.
FreeHandle(session.buffer_nvmap_handle, *m_nvdrv, session.nvmap_fd);