mirror of
https://github.com/microsoft/PowerToys
synced 2024-11-23 09:28:14 +00:00
[Workspaces] eliminate crash threat (#35535)
Co-authored-by: Seraphima <zykovas91@gmail.com>
This commit is contained in:
parent
c3fe541139
commit
b0be69a1b7
@ -398,6 +398,11 @@ namespace WorkspacesEditor.ViewModels
|
||||
|
||||
public async void LaunchProject(Project project, bool exitAfterLaunch = false)
|
||||
{
|
||||
if (project == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
await Task.Run(() => RunLauncher(project.Id, InvokePoint.EditorButton));
|
||||
if (_workspacesEditorIO.ParseWorkspaces(this).Result == true)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user