We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17bf107 commit aa8cc9fCopy full SHA for aa8cc9f
1 file changed
src/android_bridge.rs
@@ -120,7 +120,7 @@ pub extern "system" fn Java_net_opendasharchive_openarchive_services_snowbird_Sn
120
// Get the backend to access Veilid API
121
if let Ok(mut backend) = crate::server::server::get_backend().await {
122
// Shutdown Veilid API
123
- if let Some(veilid_api) = backend.get_veilid_api() {
+ if let Some(veilid_api) = backend.get_veilid_api().await {
124
veilid_api.shutdown().await;
125
log_info!(TAG, "Veilid API shut down successfully");
126
}
0 commit comments