From f544daf0070dff2f0c7c19ba17365b8af181c114 Mon Sep 17 00:00:00 2001 From: Dale Seo Date: Mon, 11 Aug 2025 14:00:34 -0400 Subject: [PATCH] fix: quit command hanging --- src/examples/client/simpleOAuthClient.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/examples/client/simpleOAuthClient.ts b/src/examples/client/simpleOAuthClient.ts index 4531f4c2a..b7388384a 100644 --- a/src/examples/client/simpleOAuthClient.ts +++ b/src/examples/client/simpleOAuthClient.ts @@ -270,7 +270,9 @@ class InteractiveOAuthClient { } if (command === 'quit') { - break; + console.log('\nšŸ‘‹ Goodbye!'); + this.close(); + process.exit(0); } else if (command === 'list') { await this.listTools(); } else if (command.startsWith('call ')) {