Skip to content

[Bug]: Stopped playback threads remain in the internal thread registry #92

Description

@sepandhaghighi

Contact details

me@sepand.tech

What happened?

After calling stop_all(), stopped threads are still kept in _play_threads_map.

Steps to reproduce

  1. Start one or more sounds asynchronously.
  2. Call stop_all().
  3. Inspect params._play_threads_map.

Expected behavior

All stopped threads should be removed from the internal registry.

Actual behavior

The registry still contains references to stopped threads, causing stale entries to accumulate.

Operating system

Linux

Python version

Python 3.11

Nava version

Nava 0.8

Relevant log output

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions