There was an error while loading. Please reload this page.
1 parent 3cb33e5 commit 9e4d532Copy full SHA for 9e4d532
2 files changed
04-PracticalSamples/calculator/README.md
@@ -250,7 +250,7 @@ export GITHUB_TOKEN=your_github_token_here
250
Start the server:
251
```bash
252
cd 04-PracticalSamples/calculator
253
-mvn spring-boot:run
+mvn clean spring-boot:run
254
```
255
256
The server will start on `http://localhost:8080`. You should see:
04-PracticalSamples/calculator/src/test/java/com/microsoft/mcp/sample/client/SDKClient.java
@@ -96,5 +96,14 @@ public void run() {
96
97
// Clean up the connection
98
client.closeGracefully();
99
+
100
+ // Give threads time to shut down properly before exiting
101
+ try {
102
+ Thread.sleep(100);
103
+ } catch (InterruptedException e) {
104
+ Thread.currentThread().interrupt();
105
+ }
106
107
+ System.exit(0);
108
}
109
0 commit comments