Skip to content

File handle is not disposed when closing a file #118

@blake-mealey

Description

@blake-mealey

The file handle is not currently cleared from the ApiSpecFile service which can result in unexpected behaviour:

  1. Open a file in Chrome
  2. Close the file
  3. Create a new spec

The save buttons are the new version (Save and Save As...), and clicking on Save will save back to the file you opened in step 1.

Fix: clear the file handle from the ApiSpecFile service when the file is closed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions