Skip to content

Commit a904e7a

Browse files
authored
fix: Fix unable to configure again after configure fails (#19908)
* Remove device from "configuring" after error * use finally for cleanup
1 parent 12521ad commit a904e7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/extension/configure.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ export default class Configure extends Extension {
129129
if (throwError) {
130130
throw error;
131131
}
132+
} finally {
133+
this.configuring.delete(device.ieeeAddr);
132134
}
133-
134-
this.configuring.delete(device.ieeeAddr);
135135
}
136136
}

0 commit comments

Comments
 (0)