Commit 0c890de
Fix Scanner: remove scanner.clear() that destroyed camera element
scanner.clear() removes the video element entirely, preventing restart.
Only use stop() + DOM child cleanup before creating new instance.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent a7c19ef commit 0c890de
1 file changed
+0
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
90 | 89 | | |
91 | 90 | | |
92 | 91 | | |
| |||
273 | 272 | | |
274 | 273 | | |
275 | 274 | | |
276 | | - | |
277 | 275 | | |
278 | 276 | | |
279 | 277 | | |
| |||
0 commit comments