fix(remote): stabilize shared control and terminal parking (#11656)
* fix(remote): stabilize shared control and terminal parking * fix(remote): harden parking review edge cases * fix(terminal): restore parked local floating buffer * fix(ci): drop superseded paired parking evidence * fix(terminal): preserve floating park watchers * fix(ci): include web client in paired e2e artifact * fix(ci): reuse renderer build for paired e2e
This commit is contained in:
@@ -86,15 +86,17 @@ export function sendSharedControlCleanupRequest(args: {
|
||||
method: string
|
||||
params: unknown
|
||||
send: (payload: unknown) => boolean
|
||||
}): void {
|
||||
}): string | null {
|
||||
// Why: cleanup is best-effort and often runs during teardown; send it
|
||||
// synchronously so close() cannot race the async request path.
|
||||
args.send({
|
||||
id: randomUUID(),
|
||||
const requestId = randomUUID()
|
||||
const sent = args.send({
|
||||
id: requestId,
|
||||
deviceToken: args.deviceToken,
|
||||
method: args.method,
|
||||
params: args.params
|
||||
})
|
||||
return sent ? requestId : null
|
||||
}
|
||||
|
||||
export function replaySharedControlSubscriptions(args: {
|
||||
|
||||
Reference in New Issue
Block a user