Skip to content

Fix double-disposing edit session#244395

Merged
roblourens merged 1 commit intomainfrom
roblou/devoted-hookworm
Mar 23, 2025
Merged

Fix double-disposing edit session#244395
roblourens merged 1 commit intomainfrom
roblou/devoted-hookworm

Conversation

@roblourens
Copy link
Member

And fix inline chat 2
This is complicated. The way that I expect it to work now

  • The ChatModel creates the editing session for the right locations and based on the isGlobalEditingSession flag passed in
  • stop doesn't dispose the editing session, so it doesn't get disposed twice, but it gets disposed when the ChatModel is disposed

And fix inline chat 2
This is complicated. The way that I expect it to work now
- The ChatModel creates the editing session for the right locations and based on the isGlobalEditingSession flag passed in
- stop doesn't dispose the editing session, so it doesn't get disposed twice, but it gets disposed when the ChatModel is disposed
@roblourens roblourens self-assigned this Mar 23, 2025
@roblourens roblourens enabled auto-merge (squash) March 23, 2025 20:52
@vs-code-engineering vs-code-engineering bot added this to the March 2025 milestone Mar 23, 2025
@roblourens roblourens merged commit 77ee393 into main Mar 23, 2025
8 checks passed
@roblourens roblourens deleted the roblou/devoted-hookworm branch March 23, 2025 21:09
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators May 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants