mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 21:07:42 +00:00
Fix VISIGen hang on X11/NVIDIA
pthread_cancel left some internal X/glX mutexes in an inconsistent state; removing it altogether allows VISIRenderer to clean up properly.
This commit is contained in:
@@ -265,7 +265,6 @@ std::vector<uint8_t> VISIBuilder::build(const zeus::CAABox& fullAabb, size_t mod
|
||||
|
||||
Progress prog(updatePercent);
|
||||
#ifndef _WIN32
|
||||
parentPid = getppid();
|
||||
auto terminate = [this, parentPid]() {
|
||||
return renderCache.m_renderer.m_terminate || (parentPid ? kill(parentPid, 0) : false);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user