Skip to content

Avoid processexecutor causing crash on startup#1036

Open
oyvindln wants to merge 3 commits into
happycube:mainfrom
oyvindln:thread_fix
Open

Avoid processexecutor causing crash on startup#1036
oyvindln wants to merge 3 commits into
happycube:mainfrom
oyvindln:thread_fix

Conversation

@oyvindln
Copy link
Copy Markdown
Contributor

I'm not sure why this isn't happening with the nix build setup, maybe something changed between python versions.

On my setup and on some of the vhs-decode builders at least ld-decode etc crashes on startup when trying to submit the kaiser lut generator function to the ProcessPoolExecutor. I changed it to a ThreadPoolExecutor instead as a quick workaround since that just uses python threads and avoids any new context mess though not sure if it's an optimal solution.

Also did some minor formatting/cleanup while at it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant