Skip to content

Memory leaks caused by std::async on iOS #310

@wamwamja

Description

@wamwamja

I don't know why, but I find memory leaks in PoissonRecon::ThreadPool::ParallelSections when I run it on iOS. (It works well on desktop platforms.)

After doing some debugging, l find leaks were caused by std::async(). I have little knowledge on multithreading, so I refer to cppreference and it seems the codes are exactly correct.

Anyway, if ThreadPool::ParallelizationType was set to ThreadPool::ParallelType::NONE, then the multithreading should be disabled everywhere?

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