/Engine/Plugins/Runtime/MIDIDevice/Source/MIDIDevice/Public/MIDIDeviceManager.h
Shuts down any existing midi devices to ensure no dangling streams are left, and mark any input or output controller for cleanup
[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="MIDI Device Manager") static void ShutDownAllMIDIDevices()