fix(protocols): honor runtime queue and Frida identity types

This commit is contained in:
morluto committed 2026-10-24 03:16:30 +08:00
1 parent 0321bb91a7
commit 5f3b92531e
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1341,7 +1341,7 @@ export class RizinDebugSessionManager {
// Admission remains closed. Only cleanup can recover correlation, and then
// it still obtains a fresh ptrace inventory and validates identity/output.
session.ready = false;
session.frames = [];
session.frames.length = 0;
session.queuedFrameBytes = 0;
const marker = `__REA_CLEANUP_SYNC_${randomUUID().replaceAll("-", "")}__`;
await new Promise<void>((resolve, reject) => {
+1 -1
View File
@@ -1467,7 +1467,7 @@ it.each(["attached", "resumed"] as const)(
program: "/fixture",
});
if (!started.ok) throw started.error;
const id = started.value.session_id;
const id = started.value.sessionId;
if (state === "resumed")
expect((await fixture.manager.resumeSession(id)).ok).toBe(true);
const result = await fixture.client.callTool({