Skip to content

Commit 1cf264b

Browse files
authored
Add back missing break statement (#1512)
Looks like this line accidentally got removed awhile back. Putting it back in so the program properly terminates.
1 parent e9aed0b commit 1cf264b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

speech/cloud-client/src/main/java/com/example/speech/Recognize.java

+1
Original file line numberDiff line numberDiff line change
@@ -699,6 +699,7 @@ public void onError(Throwable t) {
699699
System.out.println("Stop speaking.");
700700
targetDataLine.stop();
701701
targetDataLine.close();
702+
break;
702703
}
703704
request =
704705
StreamingRecognizeRequest.newBuilder()

0 commit comments

Comments
 (0)