Stefan Richter created FLINK-10044: -------------------------------------- Summary: Check proper RIA style and introduce it where missing Key: FLINK-10044 URL: https://issues.apache.org/jira/browse/FLINK-10044 Project: Flink Issue Type: Sub-task Reporter: Stefan Richter Assignee: Stefan Richter
Check code that allocates resources, especially if it can be cancelled and should react by releasing the resources for a proper resource-acquisition-is-initialization style. Ideally with a straight forward try-with-resource if possible. If not possible, the resource cleanup should still follow a clear design principle and cleanup should be idempotent and ideally happens in reverse order of initialization. -- This message was sent by Atlassian JIRA (v7.6.3#76005)