FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Keep the stream alive in data callback · Issue #2323 · google/oboe · GitHub

/ oboe Public

Keep the stream alive in data callback #2323

Description

Theoretically, the app is supposed to free the shared pointer of the stream until the stream is fully closed. In this way, there should not be issue from the data callback as the data callback thread is guaranteed to be joined before returning from close. There are some report that there is data callback from older Android after the stream is closed. There can be cases that apps forget to close the stream but free the shared pointer. In that case, it makes sense that Oboe guarantee the stream alive in data callback.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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


    Back | FazBrowse Home | New Git URL