Browse Source
- Add resolved flag and safeResolve guard pattern from getVideoDimensions - Add cleanup() function to null event handlers and clear src - Add 10-second timeout that resolves with null if neither onload nor onerror fires - Prevents promise from hanging indefinitely on corrupt/malformed imageshandoff-20260429-1057
1 changed files with 14 additions and 5 deletions
Loading…
Reference in new issue