Bug: audio engine crash on iPad midi device enable/disable (macOS)

It’s a very specific case, but one I use often: when enabling or disabling my iPad in “Audio Midi Setup” as a Midi-device (I use a midi keyboard app), Dorico’s audio engine crashes and freezes the full program. A workaround right now it to close and open Dorico when (dis)connecting my iPad.
Attached you’ll find the automatically generated crash report.
VSTAudioEngine5-2023-06-11-082605.ips (43.7 KB)