We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9a18d1f + aa8cc9f commit 41e02edCopy full SHA for 41e02ed
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