Closed abentkamp closed 1 week ago
Okay, I think I found the issue: The call to RegisterLocalExtensionResult.registerFileUrl
at
returns an IDisposable that needs to be disposed in the EditorAppExtended
's disposeApp
function.
Hi @abentkamp thank you for spotting this. I didn't had time to investigate that, yet. Do want to propose a PR/fix?
I've been running into the same issue -- here's a fix: https://github.com/TypeFox/monaco-languageclient/pull/680
Thanks a lot for the PR @vrama628 !
I assume that
MonacoEditorLanguageClientWrapper.dispose()
is supposed unregister anything that it registered duringinit
andstart
, right? Then it does not seem to work correctly with extensions that usefilesOrContents
.Here is a small example (full reproduction repo here: https://github.com/abentkamp/monacotest3/tree/reinit) :
I get the following error: