Skip to content

Conversation

@LittleLittleCloud
Copy link
Member

@LittleLittleCloud LittleLittleCloud commented Sep 30, 2025

backport #9794

…on (#9794)

* Improve session management in ProjectHotReloadSession by adding null checks and conditional logic to prevent errors when stopping and applying updates.

* Refactor ProjectHotReloadSession to remove RequireActiveSession method and update tests to handle session state without exceptions.

* add comment

* Remove unused using directive for System.Diagnostics.CodeAnalysis in ProjectHotReloadSession.cs

* Remove unused using directive for Microsoft.VisualStudio.RpcContracts.Commands in ProjectHotReloadSessionTests.cs
@LittleLittleCloud LittleLittleCloud requested a review from a team as a code owner September 30, 2025 05:13
@LittleLittleCloud LittleLittleCloud changed the title Remove back to prevent raising exception when there's no active sessi… [18.0] Remove back to prevent raising exception when there's no active sessi… Sep 30, 2025
@LittleLittleCloud LittleLittleCloud merged commit 2f48c21 into dev18.0.x Sep 30, 2025
3 checks passed
@LittleLittleCloud LittleLittleCloud deleted the u/xiaoyun/backport#9794 branch September 30, 2025 05:17
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