Skip to content

OFFI-267: Release port when stopping application#471

Merged
sarahelsaig merged 3 commits intodevfrom
issue/OFFI-267
Mar 21, 2025
Merged

OFFI-267: Release port when stopping application#471
sarahelsaig merged 3 commits intodevfrom
issue/OFFI-267

Conversation

@wAsnk
Copy link
Copy Markdown
Member

@wAsnk wAsnk commented Mar 13, 2025


await _orchardApplication.DisposeAsync();
_orchardApplication = null;
await OrchardCoreInstanceCounter.PortLeases.StopLeaseAsync(_url.Port, CancellationToken.None);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Wait, so the OC ports were never actually released?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yeah :(

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

And we are not reusing them either.

@sarahelsaig sarahelsaig merged commit 38ab51b into dev Mar 21, 2025
3 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