AHeise commented on a change in pull request #16271:
URL: https://github.com/apache/flink/pull/16271#discussion_r660444678



##########
File path: 
flink-streaming-java/src/main/java/org/apache/flink/streaming/api/operators/AbstractStreamOperator.java
##########
@@ -335,7 +335,11 @@ public void open() throws Exception {}
      * @throws Exception An exception in this method causes the operator to 
fail.
      */
     @Override
-    public void close() throws Exception {}
+    public void close() throws Exception {
+        if (output != null) {
+            output.close();
+        }
+    }

Review comment:
       Yes, I agree.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to