Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the state ports conflicts when multiple v2rayN instances start in a short period. #4712

Merged
merged 1 commit into from Feb 13, 2024

Conversation

hxdhttk
Copy link
Contributor

@hxdhttk hxdhttk commented Feb 12, 2024

If the v2rayN starts and the core does not start the state port will be the value resolved during the v2rayN initialization, which may be the same and cause confilct with the other consequent v2rayN instances.

The PR postpones when to resolve StatePort from the v2rayN initialization to the first time the statistics component calls the property.

@2dust 2dust merged commit 9b3ac15 into 2dust:master Feb 13, 2024
1 check 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.

None yet

2 participants