Skip to content

Don't create OperationCodeEditor instance from the outputViewer panel when not in debug mode #1863

@umesh-timalsina

Description

@umesh-timalsina

While working on #1800 , I found that all other TextEditorWidget sub-classes on the prototypical inheritance chain are created only once when the particular visualizer is selected. However, the UI creates multiple (3) instances of LogViewerWidget when loading. This will be a problem since monaco relies on DisposableStore which requires widgets to be properly disposed/destroyed. Regardless of monaco, I think this needs some investigation on why multiple widgets are instantiated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions