cdp: accept multiple attachToTarget calls

This commit is contained in:
Pierre Tachoire
2026-01-05 09:41:33 +01:00
parent 2074c0149f
commit cbc028b040

View File

@@ -230,10 +230,6 @@ fn attachToTarget(cmd: anytype) !void {
return error.UnknownTargetId;
}
if (bc.session_id != null) {
return error.SessionAlreadyLoaded;
}
if (bc.session_id == null) {
try doAttachtoTarget(cmd, target_id);
}