mirror of
https://github.com/smittix/intercept.git
synced 2026-06-11 15:33:32 -07:00
v2.26.0: fix SSE fanout crash and branded logo FOUC
- Fix SSE fanout thread AttributeError when source queue is None during interpreter shutdown by snapshotting to local variable with null guard - Fix branded "i" logo rendering oversized on first page load (FOUC) by adding inline width/height to SVG elements across 10 templates - Bump version to 2.26.0 in config.py, pyproject.toml, and CHANGELOG.md Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
+2
-6
@@ -1044,9 +1044,7 @@ def morse_decoder_thread(
|
||||
except queue.Empty:
|
||||
now = time.monotonic()
|
||||
should_emit_waiting = False
|
||||
if last_pcm_at is None:
|
||||
should_emit_waiting = True
|
||||
elif (now - last_pcm_at) >= STALLED_AFTER_DATA_SECONDS:
|
||||
if last_pcm_at is None or (now - last_pcm_at) >= STALLED_AFTER_DATA_SECONDS:
|
||||
should_emit_waiting = True
|
||||
|
||||
if should_emit_waiting and waiting_since is None:
|
||||
@@ -1308,9 +1306,7 @@ def morse_iq_decoder_thread(
|
||||
except queue.Empty:
|
||||
now = time.monotonic()
|
||||
should_emit_waiting = False
|
||||
if last_pcm_at is None:
|
||||
should_emit_waiting = True
|
||||
elif (now - last_pcm_at) >= STALLED_AFTER_DATA_SECONDS:
|
||||
if last_pcm_at is None or (now - last_pcm_at) >= STALLED_AFTER_DATA_SECONDS:
|
||||
should_emit_waiting = True
|
||||
|
||||
if should_emit_waiting and waiting_since is None:
|
||||
|
||||
Reference in New Issue
Block a user