We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reported in Issue #214. To reproduce, create a new, empty project with the following:
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { _ = MIKMIDIConnectionManager(name: "test") return true }
Run the app with a MIDI device already connected. After the app launches, press a button on the MIDI device and watch the app crash here:
- (BOOL)internalConnectToDevice:(MIKMIDIDevice *)device error:(NSError **)error { if ([self isConnectedToDevice:device]) return YES; error = error ?: &(NSError *__autoreleasing){ nil }; __weak typeof(self) weakSelf = self; id token = [self.deviceManager connectDevice:device error:error eventHandler:^(MIKMIDISourceEndpoint *endpoint, NSArray *commands) { [weakSelf recordPendingNoteOnCommands:commands fromDevice:device]; [weakSelf removePendingNoteOnCommandsTerminatedByNoteOffCommands:commands fromDevice:device]; weakSelf.eventHandler(endpoint, commands); // *** CRASH *** }]; <snip> }
The text was updated successfully, but these errors were encountered:
Issue #215: Fix crash when receiving MIDI message after MIKMIDIConnec…
60d914a
…tionManager has been deallocated
armadsen
No branches or pull requests
Reported in Issue #214. To reproduce, create a new, empty project with the following:
Run the app with a MIDI device already connected. After the app launches, press a button on the MIDI device and watch the app crash here:
The text was updated successfully, but these errors were encountered: