Arlodotexe / strix-music

Combine any music sources into a single library. It's your music. Play it your way.

Home Page:http://www.strixmusic.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cancelling core configuration in OOBE causes crash

yoshiask opened this issue · comments

Describe the bug

Attempting to cancel the setup of a new core during the OOBE causes the app to crash with a TaskCanceledException.

Affected area

  • Strix Music SDK
  • Strix Music App

Regression

No response

Steps to reproduce

1. Open a fresh install of Strix Music
2. In the Services tab of the OOBE, add a OneDrive core
3. Click "OK"
4. Click "Cancel"
5. Observe app crash

Visual repro steps

No response

Expected behavior

The OOBE should gracefully cancel setup of the selected core.

Additional context

No response

Help us help you

Yes, but only if others can assist.

commented

It looks like when we did #99, we forgot to put back cancellation handling. This should be as easy as wrapping the ICore.InitAsync calls in a try/catch for OperationCanceledException.