fix: Fix unable to configure again after configure fails (#19908)

* Remove device from "configuring" after error

* use finally for cleanup
This commit is contained in:
slugzero
2023-11-30 23:02:16 +01:00
committed by GitHub
parent 12521add39
commit a904e7a396
+2 -2
View File
@@ -129,8 +129,8 @@ export default class Configure extends Extension {
if (throwError) {
throw error;
}
} finally {
this.configuring.delete(device.ieeeAddr);
}
this.configuring.delete(device.ieeeAddr);
}
}