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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[sensors] Fix maximum call stack size exceeded due to a new EventEmitter #28149

Merged
merged 3 commits into from
Apr 11, 2024

Conversation

tsapeta
Copy link
Member

@tsapeta tsapeta commented Apr 11, 2024

Why

We're getting RangeError: Maximum call stack size exceeded when removing the subscription from the sensors. This is because expo-sensors is doing some weird things with the EventEmitter class 馃槄

How

Test Plan

Tested on Accelerometer and Sensors screens in NCL

@expo-bot expo-bot added the bot: suggestions ExpoBot has some suggestions label Apr 11, 2024
@expo-bot expo-bot added bot: passed checks ExpoBot has nothing to complain about and removed bot: suggestions ExpoBot has some suggestions labels Apr 11, 2024
@tsapeta tsapeta marked this pull request as ready for review April 11, 2024 19:01
@tsapeta tsapeta requested a review from lukmccall as a code owner April 11, 2024 19:01
@tsapeta tsapeta merged commit 33a7dc1 into main Apr 11, 2024
11 checks passed
@tsapeta tsapeta deleted the @tsapeta/fix-sensors branch April 11, 2024 19:44
@brentvatne brentvatne added the published Changes from the PR have been published to npm label Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: fingerprint compatible bot: passed checks ExpoBot has nothing to complain about published Changes from the PR have been published to npm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants