Skip to content

Commit

Permalink
Merge branch 'fix-ios-api-ffi' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
dlon committed Feb 21, 2024
2 parents 2adee19 + 283a484 commit afd04b6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions mullvad-api/src/ffi/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,10 @@ impl FfiClient {
}

fn rest_handle(&self) -> MullvadRestHandle {
self.api_runtime
.static_mullvad_rest_handle(self.api_hostname.clone())
self.tokio_handle().block_on(async {
self.api_runtime
.static_mullvad_rest_handle(self.api_hostname.clone())
})
}

fn device_proxy(&self) -> DevicesProxy {
Expand Down

0 comments on commit afd04b6

Please sign in to comment.