From daf94fa0b7032ba8023f0dca0bdb97cdc253668e Mon Sep 17 00:00:00 2001 From: WJZ_P <110795301+WJZ-P@users.noreply.github.com> Date: Tue, 17 Mar 2026 01:36:33 +0800 Subject: [PATCH] =?UTF-8?q?refactor(demo):=20=E7=A7=BB=E9=99=A4=20finally?= =?UTF-8?q?=20=E5=9D=97=E4=B8=AD=E7=9A=84=E6=96=AD=E5=BC=80=E8=BF=9E?= =?UTF-8?q?=E6=8E=A5=E9=80=BB=E8=BE=91=EF=BC=8C=E4=BC=98=E5=8C=96=E5=AE=8C?= =?UTF-8?q?=E6=88=90=E6=8F=90=E7=A4=BA=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/demo.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/demo.js b/src/demo.js index 9ae2d5c..41bbb66 100644 --- a/src/demo.js +++ b/src/demo.js @@ -123,10 +123,9 @@ async function main() { } catch (err) { console.error('Error:', err); - } finally { - disconnect(); - console.log('\n[done]'); } + + console.log('\n[done] 功能执行完毕,浏览器保持运行。按 Ctrl+C 退出。'); } main().catch(console.error);