Skip to content

Close doesn't really close db stream, leaked handlers in test #6

@robertsLando

Description

@robertsLando

After many hours of debugging I finally found that the problems of my leaked handlers in tests where caused by this module. Seems that the Store.close method actually doesn't really closes the db connection and this is a problem as it cause leaks.

I have try to find a solution but seems nedb doesn't prvide a direct api to close the database. But I found this open PR that may resolve the problem

https://github.com/elektron-technology/nedb

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions