Skip to content

Commit d8a9bd4

Browse files
thymikeeclaude
andcommitted
fix(daemon): abandon a transient device claim under the same env that cleared it
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
1 parent ab7aad0 commit d8a9bd4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/daemon/src/resources/device/device-claim-admission.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export function createDeviceClaimAdmission(params: {
128128
// command, so it must not stay live: abandoned means "holds it for nobody",
129129
// which the next acquire supersedes.
130130
try {
131-
await abandonDeviceClaim(ownership, process.env);
131+
await abandonDeviceClaim(ownership, params.env);
132132
} catch (abandonError) {
133133
emitDiagnostic({
134134
level: 'error',

0 commit comments

Comments
 (0)