d20f9643996831368546879b245f4f18a601a37d
When a new scan result displaces a previously visible overlay, the promise of the displaced overlay was never resolved. This caused the caller waiting on that promise to block indefinitely, freezing the app. Now the resolve function is stored in the WeakMap alongside the overlay and timer. When a new overlay displaces the previous one, the displaced overlay's promise is resolved immediately with resolve(), signifying that it is no longer visible. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
ocr_scanner
Short description of what this project does.
Getting Started
Prerequisites
- Node.js 20+
- npm or pnpm
Installation
npm install
Development
npm run dev
Tech Stack
- ...
Project Structure
src/
...
License
...
Languages
JavaScript
95.4%
CSS
2.6%
Python
1.8%
HTML
0.2%