internal/pipewire: implement Core::RemoveId
Some checks failed
Test / Flake checks (push) Has been cancelled
Test / Hakurei (push) Has been cancelled
Test / Sandbox (push) Has been cancelled
Test / Hakurei (race detector) (push) Has been cancelled
Test / Create distribution (push) Has been cancelled
Test / Hpkg (push) Has been cancelled
Test / Sandbox (race detector) (push) Has been cancelled

This is emitted by the server when a proxy id is removed for any reason. Currently, the only path for this to be emitted is when a global object is destroyed while some proxy is still bound to it.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-12-13 21:49:28 +09:00
parent ebc67bb8ad
commit 44adf525c4
5 changed files with 137 additions and 11 deletions

View File

@@ -103,6 +103,8 @@ type Client struct {
// Populated by [CoreBoundProps] events targeting [Client].
Properties SPADict `json:"props"`
noRemove
}
func (client *Client) consume(opcode byte, files []int, unmarshal func(v any)) error {