CouchDeckSeptember 5, 2026

Battlefield 6 keeps running for 70 seconds after you close it

Why CouchDeck's curtain has four events instead of two.

CouchDeck streams a gaming PC to a TV and promises one thing: you never see the Windows desktop. The stream starts under an opaque curtain, and the curtain lifts only when the game is actually on screen.

The first version had two events from the PC agent: starting and exited. Lift the curtain on the first, drop it on the second. Simple, and wrong.

Battlefield 6, on quit, closes its window and then keeps its process alive for about seventy seconds — shutting down anti-cheat, flushing telemetry, whatever it does. For seventy seconds the stream showed the desktop, because as far as the agent was concerned the game was still running.

So the run wrapper now emits four events: starting, running, closing, exited. running means a window exists — the curtain lifts. closing means the window is gone — the curtain drops, regardless of the process. exited means the stream can be torn down and the TV can return to its own library.

The other half of the fix is on the client. It takes its event cursor once, at the moment it requests the stream. A client that connects late can’t replay the previous session’s running and lift the curtain on a desktop frame.

The process still has its two events, starting and exited. The curtain listens to the other two.