mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-10-21 14:51:49 +02:00
revert: capture attach wait
This commit is contained in:
1 parent
54ec49d8b0
commit
a340005d94
1 file changed
+1
-3
@@ -797,8 +797,6 @@ async fn pump(
|
||||
ready: tokio::sync::oneshot::Sender<Result<(), String>>,
|
||||
) {
|
||||
let mut ready = Some(ready);
|
||||
// A tab opened while the capture runs waits until its Network domain is
|
||||
// on, so its first request is not missed; `attached` lets it go.
|
||||
let attach = connection
|
||||
.send_to(
|
||||
None,
|
||||
@@ -806,7 +804,7 @@ async fn pump(
|
||||
"Target.setAutoAttach",
|
||||
json!({
|
||||
"autoAttach": true,
|
||||
"waitForDebuggerOnStart": true,
|
||||
"waitForDebuggerOnStart": false,
|
||||
"flatten": true,
|
||||
"filter": [{ "type": "page" }],
|
||||
}),
|
||||
|
||||
Reference in new issue
Block a user