Skip to content

Instantiate FfiClient Lazily#125

Merged
keepingitneil merged 3 commits intomainfrom
neil/lazy-ffi
Dec 15, 2023
Merged

Instantiate FfiClient Lazily#125
keepingitneil merged 3 commits intomainfrom
neil/lazy-ffi

Conversation

@keepingitneil
Copy link
Copy Markdown
Contributor

No description provided.

Comment thread livekit-rtc/livekit/rtc/_ffi_client.py Outdated
raise Exception("unreachable")


_ffi_instance: Optional["FfiClient"] = None
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

You can move that inside the class

@keepingitneil keepingitneil merged commit 585a6c1 into main Dec 15, 2023
@keepingitneil keepingitneil deleted the neil/lazy-ffi branch December 15, 2023 00:57
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.

2 participants