Skip to content
This repository was archived by the owner on Aug 11, 2021. It is now read-only.
This repository was archived by the owner on Aug 11, 2021. It is now read-only.

[BUG] Fstream calls stat on written file *after* emitting close event, crashing when a consumer deletes file in on(close) #70

@tkafka

Description

@tkafka

What / Why

See tomayac/local-reverse-geocoder#39.

Fstream calls stat on written files (for reasons I don't understand) after emitting close event, and if a consumer uses and deletes the written file in close handler, stat causes crash.

I don't think fstream should touch the written file in any way after emitting close event.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions