Disconnecting audio device / deactivating Bluetooth is able to kill MuseScore
MuseScore is killed if the audio output is sent to a Bluetooth device and Bluetooth becomes deactivated or the connected Bluetooth device is disconnected. It is not necessary that something is played; being connected to earphones alone suffices.
Steps to reproduce:
1. Open a sheet.
2. Let MuseScore output audio over Bluetooth (e.g. Bluetooth earphones) (Bearbeiten... -> Voreinstellungen -> Ein-/Ausgabe -> Audiogerät)
3. Deactivate Bluetooth.
4. Admire how MuseScore crashes immediately.
Both ways, deactivating Bluetooth and disconnecting the Bluetooth device, were tested to kill MuseScore immediately.
The expected behaviour should be: Reset the audio output device to System default and inform the user with a message window.
Please note that this issue may arise with audio input devices or similar devices (MIDI?) too.
At least for me, it doesn't corrupt the sheet, despite not-saved changes may be lost. Therefore, I decided to not choose "S1 -- Blocker" as priority. Or, to say it with a German proverb: No backup no pity.
My MuseScore version seems to be the latest stable version (the "Reported version" property has no entry for 4.x, only for 4.x-dev):
OS: Windows 10 Version 2009, Arch.: x86_64, MuseScore version (64-bit): 4.0.0-223472200, revision: 5485621
I did not test the buggy behaviour by using other versions.