Co-authored-by: Reifonas <211114984+Reifonas@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-05-14 18:43:37 +00:00
parent 64b6270188
commit ce3ae14c84
+1 -1
View File
@@ -16,5 +16,5 @@ export function getBroadcastSource(): HTMLCanvasElement | null {
export function onBroadcastSourceChange(cb: (c: HTMLCanvasElement | null) => void) { export function onBroadcastSourceChange(cb: (c: HTMLCanvasElement | null) => void) {
listeners.add(cb); listeners.add(cb);
return () => listeners.delete(cb); return () => { listeners.delete(cb); };
} }