-
Notifications
You must be signed in to change notification settings - Fork 2
feat: add XPC communication to Network Extension #29
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
Conversation
I implemented communication updates from the NetworkExtension to the App, but it doesn't seem like the network extension is ever fully starting up. I see that it's being started, but never see any logs in
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the interest of getting this merged, the rest of my review is in the last commit!
// TODO: better init maybe? kinda wonky | ||
lazy var xpc = VPNXPCInterface(vpn: self) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is fine, since it's a chicken & egg problem. The alternative is to use an optional, probably with !
- lazy lets us skip the unwrap.
No description provided.