Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File handle is not disposed when closing a file #118

Open
blake-mealey opened this issue Oct 24, 2020 · 0 comments
Open

File handle is not disposed when closing a file #118

blake-mealey opened this issue Oct 24, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@blake-mealey
Copy link
Contributor

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.

@EricWittmann EricWittmann added the bug Something isn't working label Oct 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants