Skip to content

Conversation

frogcjn
Copy link

@frogcjn frogcjn commented Feb 17, 2024

fix macOS startHTTPListener memory crash if there is an error and return nil URL

related issue: #107
When there is a starting error happened, the Swift call to startHTTPListener will crash, because of the return URL is nullable but the interface announce it nonnull.

The right behavior should throw an SwiftError.
after this fix, the Swift call to startHTTPListener will be right to handle the error.

frogcjn added 4 commits February 17, 2024 06:58
fix macOS startHTTPListener memory crash if there is an error and return nil URL.
fix startHTTPListener with port
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