diff options
| author | Gab Virebent <gabriel1@virebent.art> | 2026-07-01 17:48:59 +0200 |
|---|---|---|
| committer | Gab Virebent <gabriel1@virebent.art> | 2026-07-01 17:48:59 +0200 |
| commit | 4da18fe598f243c777d330ba9d50f1ecd4382b05 (patch) | |
| tree | 2c85d6e987b6a1c4226f2aff81e89972939ff166 /internal/handler | |
| parent | 78d57b1090a5a23abce2a732f091a4ef007d60cc (diff) | |
| download | nymdrop-4da18fe598f243c777d330ba9d50f1ecd4382b05.tar.gz nymdrop-4da18fe598f243c777d330ba9d50f1ecd4382b05.tar.xz nymdrop-4da18fe598f243c777d330ba9d50f1ecd4382b05.zip | |
Fix PoW status message never rendering in the browser
A tight loop of only-awaited crypto.subtle.digest calls never yields
to the browser's rendering pipeline (they resolve as microtasks), so
the "computing proof of work" status update was silently skipped from
the user's perspective even though the computation ran correctly.
Insert an explicit macrotask yield before and periodically during the
search so the message actually paints and the tab stays responsive.
Diffstat (limited to 'internal/handler')
0 files changed, 0 insertions, 0 deletions
