Compare commits

...

2 Commits

Author SHA1 Message Date
DrSmoothl
a2b1d252d7 feat(linux): enhance thread management and symbol resolution in injection process 2026-05-03 17:27:14 +08:00
手瓜一十雪
69b8dd7165 Revert "Probe and reconnect to existing hooks"
This reverts commit f04ec3ec36.
2026-05-03 16:51:07 +08:00
3 changed files with 0 additions and 10 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -47,16 +47,6 @@ export class HookManager {
state.path = proc.path;
}
// Probe every freshly-enumerated PID in parallel to detect hooks left over
// from a previous SnowLuma run. Positive hits are reconnected immediately
// so the login-state snapshot can update the UI without a manual load.
await Promise.all(
processes
.map(proc => this.states.get(proc.pid)!)
.filter(state => !state.injected && !this.loadTasks.has(state.pid))
.map(state => this.probeAndSeed(state)),
);
const seen = new Set(processes.map(proc => proc.pid));
const result: HookProcessInfo[] = [];
for (const proc of processes) {