Permalink
Browse files

Fix BGMApp crash when BGMDriver isn't installed.

  • Loading branch information...
1 parent d4df610 commit 612e249e1b3af339386da0362232272174d44d7c @kyleneideck committed May 7, 2017
Showing with 1 addition and 0 deletions.
  1. +1 −0 BGMApp/BGMApp/AppDelegate.mm
@@ -106,6 +106,7 @@ - (void) applicationDidFinishLaunching:(NSNotification*)aNotification {
audioDevices = [[BGMAudioDeviceManager alloc] initWithError:&error];
if (audioDevices == nil) {
[self showDeviceNotFoundErrorMessageAndExit:error.code];
+ return;
}
}

0 comments on commit 612e249

Please sign in to comment.