-
-
Notifications
You must be signed in to change notification settings - Fork 281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncaught Error: TextModel got disposed before DiffEditorWidget model got reset #647
Comments
@armisael Do you know if this error has any real impact, or is it safe to ignore? |
In our case we didn't notice any real impact, so our solution was indeed to ignore it, but I can't assume this is true for all cases. Also, people over microsoft/vscode#218001 had what looks like the same issue, and fixed it a couple of months ago. |
Hi @suren-atoyan , that's exactly what I'm doing in the test project, have a look at: https://github.com/armisael/test-react-monaco-diff/blob/main/src/components/MonacoDiffEditor.tsx The error appears when using I'm not sure how to interpret the issue on microsoft/vscode#218001 I'm afraid I can't help much |
Any update to this as the issue is still there when the |
When using
DiffEditor
with Monaco 0.51 and the component is unmounted, the following error is thrown:The error does not appear with Monaco 0.50.
To Reproduce
I prepared a minimal code snippet to reproduce the issue: https://github.com/armisael/test-react-monaco-diff
Simply:
npm run dev
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: