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

Set rparticipant variable before emit event #74

Merged
merged 1 commit into from
Oct 3, 2023

Conversation

MDBox
Copy link
Contributor

@MDBox MDBox commented Oct 3, 2023

This PR sets the rparticipant variable to None in the data_received event. This addresses the error Local variable referenced before assignment. This may have negative effects in users callback functions if there isn't a None type check before referencing participant.

@CLAassistant
Copy link

CLAassistant commented Oct 3, 2023

CLA assistant check
All committers have signed the CLA.

@theomonnom theomonnom merged commit 3e410a2 into livekit:main Oct 3, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants