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

[WIP] Plug leak #1890

Closed
wants to merge 19 commits into from
Closed

[WIP] Plug leak #1890

wants to merge 19 commits into from

Conversation

nulltoken
Copy link
Contributor

Fixes #1881

Summary

Replace this with something that explains what this PR is for and why it matters.

Checklist

  • The basics
    • I tested these changes manually in my local or dev environment
  • Tests
    • Added or updated
    • N/A
  • Event Tracking
    • I added event tracking and followed the event tracking guidelines
    • N/A
  • Error Reporting
    • I reported errors and followed the error reporting guidelines
    • N/A

Screenshots

If applicable, add screenshots or gifs to help demonstrate the changes. If not applicable, remove this screenshots
section before creating the PR.

Additional context

Add any other context about the pull request here. Remove this section if there is no additional context.

@nulltoken nulltoken force-pushed the ntk/leak branch 2 times, most recently from acde342 to ae81d91 Compare September 15, 2021 14:38
if (isOpenAPI2(result)) operations = transformOas2Operations(result);
else if (isOpenAPI3(result)) operations = transformOas3Operations(result);
else if (isPostmanCollection(result)) operations = transformPostmanCollectionOperations(result);
else throw new Error('Unsupported document format');

operations.forEach((op, i, ops) => {
if (op.request !== undefined) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I see your point, make sense

@nulltoken
Copy link
Contributor Author

@radzserg Hmmm. I've been sidetracked by another topic and thus haven't had the time to fix all the tests. I've still got some work in that area.

However, even if the CI doesn't pass, you might be willing to take an early peek at this WIP.

Feedback would be very welcome ;-)

@nulltoken
Copy link
Contributor Author

Superceded by #1892

@nulltoken nulltoken closed this Sep 20, 2021
@ghost ghost reopened this Sep 20, 2021
@ghost
Copy link

ghost commented Sep 28, 2021

Closing due to fix: #1892

@ghost ghost closed this Sep 28, 2021
@nulltoken nulltoken deleted the ntk/leak branch September 28, 2021 19:09
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[prism-cli] Memory leak while validating
2 participants