Implement AutoCloseable or try-with-resources block for creating MediaFrame texture

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • jfx27
    • Affects Version/s: jfx25
    • Component/s: javafx
    • None

      The method ResourceFactory.createTexture(MediaFrame frame); is overridden by ResourceFactory classes specific to each rendering pipelines(es2,d3d,mtl).
      The overridden method could be modified to use AutoCloseable or try-with-resources block, such that the Frame is released when method exits

            Assignee:
            Ambarish Rapte
            Reporter:
            Ambarish Rapte
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: