lf-lang / vscode-lingua-franca

Lingua Franca extension for Visual Studio Code
Other
4 stars 3 forks source link

"Webview is disposed" error #81

Closed lhstrh closed 2 weeks ago

lhstrh commented 1 year ago

Sometimes, when opening the diagram, the following error is shown (and the diagram is not rendered):

image

The error goes away after restarting VS Code.

soerendomroes commented 1 year ago

Do you have any error message in addition to Webview is disposed? How to you reproduce the issue? Reload VS Code until it happens, just close and open the diagram, or are you refreshing the diagram? What model did you use?

lhstrh commented 1 year ago

I've been experiencing the problem with various models, and it happens after having used the extension for some amount of time; in which case opening the diagram of a newly opened file immediately results in the error. Next time it happens I'll try to collect more information...

lhstrh commented 1 year ago

Related (or subsumed?) by #113.

petervdonovan commented 1 year ago

I think this might be separate from #113.

More details:

image image

It's still not clear to me what triggers this issue to occur.

lhstrh commented 2 weeks ago

Haven't seen this error in quite a while. Close?

petervdonovan commented 2 weeks ago

OK. Even if this issue still exists, it probably does not belong in this repo because it seems more related to KlighD, which manages the webview.