Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Tunnel can't be stopped and started while the NE is running #51

Closed
coder/coder
#16598
Assignees
ethanndickson
@ethanndickson

Description

@ethanndickson

When attempting to implement theNEProvider overrides for starting & stopping the tunnel on device sleep and wake, I noticed that sending theStopRequest to the.dylib causes the entire NE process toSIGABRT. We'll need to fix this if we'd like the VPN to start and stop itself on sleep and wake.

For example, this can be reproduced by modifying the sleep handler:

override func sleep(completionHandler: @escaping -> Void) {    let completionhandler = CompletionWrapper(completionHandler)    Task {         try await manager?.stopVPN()         completionHandler()    }}

Then starting the VPN, and putting the device to sleep. After waking, you'll see an internal error indicating a crash of the NE.

We currently only send theStopRequest when shutting down the tunnel, so this crash can't happen with normal use of the app.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp