2
0
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:
2019-11-19 23:39:49 -05:00
parent b23575f2aa
commit b895a2a757
2 changed files with 1 additions and 2 deletions

View File

@@ -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);
};