Skip to content

Commit

Permalink
fix: logic when closing ksqlEngine fixed (#4917)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenpyzhang authored Mar 27, 2020
1 parent 21e4751 commit a217eb9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ksql-engine/src/main/java/io/confluent/ksql/KsqlEngine.java
Original file line number Diff line number Diff line change
Expand Up @@ -535,8 +535,9 @@ public void close() {
for (final QueryMetadata queryMetadata : allLiveQueries) {
if (queryMetadata instanceof PersistentQueryMetadata) {
queryMetadata.stop();
} else {
queryMetadata.close();
}
queryMetadata.close();
}
adminClient.close();
engineMetrics.close();
Expand Down

0 comments on commit a217eb9

Please sign in to comment.