diff options
author | Jesse Wilson <jwilson@squareup.com> | 2024-04-04 07:40:21 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-04 07:40:21 -0400 |
commit | 5b27ba7e82d5e6995d46153ca9f924b9c442e9fa (patch) | |
tree | 19e7a0828b4d5725e2b55b798d5918ab11a3febf | |
parent | c9ba5d732b23ae25d7603b7b19afbca3a75e9fd6 (diff) | |
download | okhttp4-5b27ba7e82d5e6995d46153ca9f924b9c442e9fa.tar.gz |
Clarify a comment on shutting down the dispatcher (#8328)
-rw-r--r-- | samples/guide/src/main/java/okhttp3/recipes/WebSocketEcho.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/guide/src/main/java/okhttp3/recipes/WebSocketEcho.java b/samples/guide/src/main/java/okhttp3/recipes/WebSocketEcho.java index f0407db87..8aa19a2b3 100644 --- a/samples/guide/src/main/java/okhttp3/recipes/WebSocketEcho.java +++ b/samples/guide/src/main/java/okhttp3/recipes/WebSocketEcho.java @@ -19,7 +19,7 @@ public final class WebSocketEcho extends WebSocketListener { .build(); client.newWebSocket(request, this); - // Trigger shutdown of the dispatcher's executor so this process can exit cleanly. + // Trigger shutdown of the dispatcher's executor so this process exits immediately. client.dispatcher().executorService().shutdown(); } |