Skip to content

Thread pool destructed before all objects are destructed #882

@maxlein

Description

@maxlein

Hi,

is it possible to delay the destruction of the thread pool somehow?
I call "init_thread_pool()" in my main function and then there are some threads and objects.
And when I close my app, I get an error with "async log: thread pool doesn't exist anymore" from one of my objects destructor where a logger is called.

Cheers
Max

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