diff --git a/src/main/java/eu/mihosoft/freerouting/gui/DesignFile.java b/src/main/java/eu/mihosoft/freerouting/gui/DesignFile.java index 57c0672..e7ab71c 100644 --- a/src/main/java/eu/mihosoft/freerouting/gui/DesignFile.java +++ b/src/main/java/eu/mihosoft/freerouting/gui/DesignFile.java @@ -291,18 +291,6 @@ public class DesignFile { result = false; } - try - { - if (input_stream != null) - { - input_stream.close(); - } - rules_file.delete(); - } catch (java.io.IOException e) - { - FRLogger.error(e.getLocalizedMessage(), e); - result = false; - } } catch (java.io.FileNotFoundException e) { FRLogger.error("File '"+rules_file_name+"' was not found.", e);