Switch files before closing active one
To avoid disposing the repo_editor component, we have to make sure we always have an active file if we have any open files at all. Othewrwise the whole component gets diposed that triggers all possible events and unnecessary processing related to diposing the old one and setting up the new editor instance
Showing
Please register or sign in to comment