fix: handle abort password
This commit is contained in:
@@ -145,7 +145,9 @@ export function forDSP408(dsp: DSP408, setDsps: SetDsps, notify: NotifyFn) {
|
||||
|
||||
async function abortLocked() {
|
||||
await invoke('disconnect_dsp408', { id: dsp.id }).catch(() => {});
|
||||
updateDSP(setDsps, dsp.id, (d) => ({ ...d, passwordRequired: true }));
|
||||
|
||||
updateDSPState();
|
||||
updateDSP(setDsps, dsp.id, (d) => ({ ...d, isConnecting: false, passwordRequired: true }));
|
||||
}
|
||||
|
||||
async function connectInternal(password?: string) {
|
||||
|
||||
Reference in New Issue
Block a user