Skip to content

Commit f1d52f9

Browse files
committed
fix: add unref
1 parent a811819 commit f1d52f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/device-id/src/get-device-id.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export function getDeviceId({
3131
} else {
3232
resolve('unknown');
3333
}
34-
}, timeout);
34+
}, timeout).unref?.();
3535

3636
resolveDeviceId = resolve;
3737
rejectDeviceId = reject;

0 commit comments

Comments
 (0)