Skip to content

Fixed pfw install command on Linux#44

Merged
stephencelis merged 1 commit intopointfreeco:mainfrom
thinkpractice:main
Mar 4, 2026
Merged

Fixed pfw install command on Linux#44
stephencelis merged 1 commit intopointfreeco:mainfrom
thinkpractice:main

Conversation

@thinkpractice
Copy link
Contributor

Hi @stephencelis and @mbrandonw ,

as promised a PR with two minor changes that makes pfw install work on Linux too. Before, pfw install would crash with the following message:

Object 0x778a2400f3f0 of class _MultiHandle deallocated with non-zero retain count 2. This object's deinit, or something called from it, may have created a strong reference to self which outlived deinit, resulting in a dangling reference.

Apparently (and according to Codex), this is a common issue with URLSession on Linux. From my own experience I can confirm there are large differences between URLSession on Apple platforms and the open source version on Linux. The latter uses libcurl and doesn't implement all APIs that are available on Apple platforms.

I hope this (minor) fix is acceptable also for Apple platforms. I still have one warning compiling:

warning: 'zipfoundation': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target

If that's a blocking issue for you I can investigate.

kind regards,

Tim

Copy link
Member

@stephencelis stephencelis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@stephencelis stephencelis merged commit 784ad87 into pointfreeco:main Mar 4, 2026
2 checks passed
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.

2 participants