mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
fix(android): handle exceptions when creating a new session (#10667)
The `Session.newAndroid` constructor can throw an exception. Unfortunately, the Kotlin compiler didn't warn us about that and thus, any errors when creating a new session caused the service process to crash. We fix this by wrapping the entire thing in a `try-catch-finally` block. Resolves: #10289
This commit is contained in:
@@ -20,7 +20,12 @@ export default function Android() {
|
||||
return (
|
||||
<Entries downloadLinks={downloadLinks} title="Android">
|
||||
{/* When you cut a release, remove any solved issues from the "known issues" lists over in `client-apps`. This must not be done when the issue's PR merges. */}
|
||||
<Unreleased></Unreleased>
|
||||
<Unreleased>
|
||||
<ChangeItem pull="10667">
|
||||
Fixes an issue where the Tunnel service would crash when trying to
|
||||
connect Firezone without an Internet connection.
|
||||
</ChangeItem>
|
||||
</Unreleased>
|
||||
<Entry version="1.5.5" date={new Date("2025-10-18")}>
|
||||
<ChangeItem pull="10509">
|
||||
Fixes an issue where the Internet Resource could be briefly active on
|
||||
|
||||
Reference in New Issue
Block a user