MCPcopy Create free account
hub / github.com/efogdev/mpris-timer / Destroy

Method Destroy

internal/core/core.go:105–114  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

103}
104
105func (p *TimerPlayer) Destroy() {
106 defer func() { _ = p.conn.Close() }()
107 close(p.emitter)
108
109 if p.Done != nil {
110 p.Done <- struct{}{}
111 }
112
113 close(p.Done)
114}
115
116func (p *TimerPlayer) runTicker() {
117 log.Printf("player requested, fps = %d", p.fps)

Callers 2

runTickerMethod · 0.95
mainFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected