-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
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
Remove assertion for disconnect #40
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
WebMIDIKit/Sources/WebMIDIKit/MIDIPortMap.swift
Line 70 in 6f35069
This assertion fires when you unplug a MIDI device of which a port is used.
I think removing this cause for runtime exceptions in DEBUG builds is a good fit (because the assumption that the device is still connected isn't always true!) and cannot gracefully be handled at all.
The text was updated successfully, but these errors were encountered: