Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

Egor-Kozlov
Copy link
Contributor

@Egor-Kozlov Egor-Kozlov commented May 2, 2025

…sources

Thanks for submitting a PR! Please read these instructions carefully:

  • Explain the motivation for making this change.
  • Provide a test plan demonstrating that the code is solid.
  • Match the code formatting of the rest of the codebase.
  • Target the main branch, NOT a "stable" branch.

Motivation (required)

In the web camera still works even after closing the camera modal window. So we need to stop it every time when it is unused.

Test Plan (required)

Check that camera stops when you close the camera modal window and starts again when you opened it again. The camera status may be shown in your browser or like a light near your physical web camera.

@Johan-dutoit Johan-dutoit merged commit d1e41a0 into react-native-image-picker:main May 4, 2025
1 check passed
Johan-dutoit pushed a commit that referenced this pull request May 4, 2025
## [8.2.1](v8.2.0...v8.2.1) (2025-05-04)

### Bug Fixes

* **web:** add stopCamera function to properly release media stream resources ([#2374](#2374)) ([d1e41a0](d1e41a0))
@Johan-dutoit
Copy link
Collaborator

🎉 This PR is included in version 8.2.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.