Description
Closing the Lean InfoView shows a warning dialog with:
Cannot read properties of undefined (reading 'api')
This seems to happen when the InfoView pane is closed, not during normal editing.
Steps to reproduce
- Open a Lean file in VS Code.
- Make sure the Lean InfoView is open and active.
- Close the InfoView pane.
- Observe the warning dialog.
Expected behavior
Closing the InfoView should dispose of it cleanly, with no warning or error dialog.
Actual behavior
A warning dialog appears with the message above
Environment
- VS Code: 1.111.0
- Lean 4 VS Code extension: leanprover.lean4-0.0.229
- Lean toolchain: leanprover/lean4:v4.29.0-rc2
- Lean version: Lean (version 4.29.0-rc2, x86_64-unknown-linux-gnu, commit 83e54b65b65d1d3ce31d99d820a7bd5f3e219295, Release)
- Setup: VS Code Server / remote session
Description
Closing the Lean InfoView shows a warning dialog with:
This seems to happen when the InfoView pane is closed, not during normal editing.
Steps to reproduce
Expected behavior
Closing the InfoView should dispose of it cleanly, with no warning or error dialog.
Actual behavior
A warning dialog appears with the message above
Environment