Skip to content

Crash/inf. loop on closing the device #137

@djgaspa

Description

@djgaspa

The member TransferPool::pending_transfer_ is actually shared among the EventLoop and the thread calling Freenect2DeviceImpl::stop.

Hence, it needs to be mutex protected in order to avoid the program crashes or hungs up on exit.

A simple workaround is to wait a little (2 secs) between disableSubmission and cancel in the method Freenect2DeviceImpl::stop

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions