Disposing a tree view while it's visible causes it to stay empty #212078
Closed
Description
opened on May 6, 2024
- Extension creates a tree view
- User opens the tree view
- Extension disposes the tree view while it's still open
- Extension creates the tree view again
- 🐛 The tree view will stay empty until it's
visibility
is toggled
Real world repo (also works as steps to verify):
- Connect to a Codespace (to use a specific build of VS Code you can specify a commit in the URL with
/?vscodeCommitId=<commit>
, ex/?vscodeCommitId=d850cd0dffe788501c6719c298936d0d9128cb1f
) - Open the Remote Explorer
- Reload the page. This will cause the Codespace to load with the remote explorer visible
- You'll see that the Codespace view in the remote explorer is empty
Activity