Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • W wireplumber
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 142
    • Issues 142
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PipeWirePipeWire
  • wireplumber
  • Merge requests
  • !166

core pending

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Julian Bouzas requested to merge julian/wireplumber:core-pending into master Jun 08, 2021
  • Overview 2
  • Commits 2
  • Pipelines 3
  • Changes 2

Sometimes the unit tests leak memory (especially test-session-item) because core is destroyed before all pending tasks are completed.

To solve this, a new wp_core_pending() API has been added to check if core has pending tasks, and test-base-fixture.h has been updated to wait until all tasks are completed before destroying core, making it easier to debug memory leaks in the future.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: core-pending