From f58f875fdfa73340389c6a8bc3c46c111b6de2ab Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Tue, 29 Dec 2020 15:48:18 -0600 Subject: [PATCH] Guess I don't need a global VM. --- src/backends/android.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/backends/android.rs b/src/backends/android.rs index 2b28d20..518b25e 100644 --- a/src/backends/android.rs +++ b/src/backends/android.rs @@ -1,9 +1,7 @@ #[cfg(target_os = "android")] -use std::collections::HashMap; use std::sync::Mutex; use jni::objects::GlobalRef; -use jni::JavaVM; use lazy_static::lazy_static; use log::info; @@ -11,7 +9,6 @@ use crate::{Backend, BackendId, Error, Features, UtteranceId, CALLBACKS}; lazy_static! { static ref NEXT_BACKEND_ID: Mutex = Mutex::new(0); - static ref VM: Mutex> = Mutex::new(None); } #[derive(Clone)]