@threadbase-sh/streamer 1.18.0 → 1.18.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/launchd-entry.cjs
CHANGED
|
@@ -19138,14 +19138,14 @@ function decideShimAction() {
|
|
|
19138
19138
|
}
|
|
19139
19139
|
const marker = readMarker();
|
|
19140
19140
|
if (!marker) return { kind: "exec" };
|
|
19141
|
+
if (!isPidAlive(marker.devPid)) {
|
|
19142
|
+
clearMarker();
|
|
19143
|
+
return { kind: "exec", reason: "crash-recovery" };
|
|
19144
|
+
}
|
|
19141
19145
|
if (marker.userHeld) {
|
|
19142
19146
|
return { kind: "exit", reason: "user-held" };
|
|
19143
19147
|
}
|
|
19144
|
-
|
|
19145
|
-
return { kind: "exit", reason: "dev-alive" };
|
|
19146
|
-
}
|
|
19147
|
-
clearMarker();
|
|
19148
|
-
return { kind: "exec", reason: "crash-recovery" };
|
|
19148
|
+
return { kind: "exit", reason: "dev-alive" };
|
|
19149
19149
|
}
|
|
19150
19150
|
function main() {
|
|
19151
19151
|
const action = decideShimAction();
|