Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-4154

ScriptState#setScript(File) does not close resources

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.14.0
    • None
    • None
    • Reviewed

    Description

      When calling setScript(File) it opens two readers and passes them on. Unfortunately it doesn't close them. That means the underlying files are locked until the next run of the Garbage Collector.

      Attachments

        1. PIG-4154.1.patch
          0.9 kB
          Lars Francke

        Activity

          People

            larsfrancke Lars Francke
            larsfrancke Lars Francke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: