Skip to content

folder_change_reader_t should close directory handle before closing thread pool I/O #622

@avivanoff

Description

@avivanoff

According to CloseThreadpoolIo documentation:

You should close the associated file handle and wait for all outstanding overlapped I/O operations to complete before calling this function. You must not cause any more overlapped I/O operations to occur after calling this function.

Current implementation of folder_change_reader_state::~folder_change_reader_state does the opposite.

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