Fix JS exceptions crashing the app instantly

This commit is contained in:
2026-05-31 15:38:17 +02:00
parent bf642cd983
commit c338ef4247
3 changed files with 13 additions and 8 deletions
+1 -1
View File
@@ -160,7 +160,7 @@ export default function CameraScreen({
// Cancel capture process
const handleLocalCancel = () => {
if (countdownTimerRef.current) clearInterval(countdownTimerRef.current);
if (countdownTimerRef.current) clearTimeout(countdownTimerRef.current);
if (burstTimerRef.current) clearTimeout(burstTimerRef.current);
setCountdown(countdownDuration);
setIsCapturing(false);