Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Orphan processes #35

Merged
merged 10 commits into from
Feb 8, 2024
Merged

Orphan processes #35

merged 10 commits into from
Feb 8, 2024

Conversation

sepandhaghighi
Copy link
Member

Reference Issues/PRs

#34

What does this implement/fix? Explain your changes.

  • NavaThread.stop method bug fixed

Any other comments?

@sepandhaghighi sepandhaghighi added the bug Something isn't working label Feb 7, 2024
@sepandhaghighi sepandhaghighi added this to the nava v0.4 milestone Feb 7, 2024
@sepandhaghighi sepandhaghighi self-assigned this Feb 7, 2024
@codecov-commenter
Copy link

codecov-commenter commented Feb 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (3af01b4) 99.16% compared to head (291ca36) 99.19%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev      #35      +/-   ##
==========================================
+ Coverage   99.16%   99.19%   +0.02%     
==========================================
  Files           4        4              
  Lines         120      124       +4     
  Branches       12       12              
==========================================
+ Hits          119      123       +4     
  Partials        1        1              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sepandhaghighi sepandhaghighi marked this pull request as ready for review February 7, 2024 14:52
@sepandhaghighi
Copy link
Member Author

sepandhaghighi commented Feb 7, 2024

Local tests on OSs

  • MacOS Sonoma 14.2.1
  • Windows 10
  • Ubuntu 16.04
  • Ubuntu 22.04

>>> for i in range(40):
... sound_id = play(os.path.join("others", "test.wav"), async_mode=True)
... time.sleep(0.5)
... stop(sound_id)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is stop here necessary for test?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one will be fixed in future PR for handling tests.

Copy link
Member

@sadrasabouri sadrasabouri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested at MacOS both the package performance and nafas pytest (as a depended) are OK, I will test on Ubuntu in less than 12 hours.

@sadrasabouri
Copy link
Member

I tested at Ubuntu 22.04 both the package performance and nafas pytest (as a depended) are OK.

@sadrasabouri sadrasabouri merged commit cf9e195 into dev Feb 8, 2024
73 checks passed
@sadrasabouri sadrasabouri deleted the orphan_processes branch February 8, 2024 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants