From a6cf03a6ae98e4fb675da25046d148e92bcf7206 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Wed, 16 Sep 2026 15:00:46 -0400 Subject: chore: staticcheck and gofmt cleanups --- internal/game/owner.go | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'internal/game/owner.go') diff --git a/internal/game/owner.go b/internal/game/owner.go index ce1f687..9c7be64 100644 --- a/internal/game/owner.go +++ b/internal/game/owner.go @@ -177,18 +177,6 @@ func (g *Game) RunAdminOnOwner(fn func()) bool { return accepted } -// tryRun executes fn on the owner if it is currently idle-draining; it is -// not currently used for correctness paths but exists for future non-blocking -// administrative reads. It returns false when the queue is full. -func (g *Game) tryRun(fn func()) bool { - o := g.owner - if o == nil { - fn() - return true - } - return o.submit(fn) -} - // currentGoroutineID returns the calling goroutine's ID parsed from its // stack header ("goroutine 123 [running]:"), 0 when unparseable. func currentGoroutineID() uint64 { -- cgit v1.2.3