Follow Ruffle Navigator API change (async_channel::Receiver)

This commit is contained in:
TÖRÖK Attila 2023-08-02 13:17:02 +02:00
parent 2835c6116d
commit d7dcb4395a
3 changed files with 4 additions and 1 deletions

1
native/Cargo.lock generated
View File

@ -2453,6 +2453,7 @@ version = "0.1.0"
dependencies = [
"android-activity",
"android_logger",
"async-channel",
"generational-arena",
"jni",
"log",

View File

@ -17,6 +17,7 @@ log = "0.4.19"
android_logger = "*"
url = "2.4.0"
generational-arena = "0.2.9"
async-channel = "1.9.0"
ruffle_core = { git = "https://github.com/ruffle-rs/ruffle.git", branch = "master", features = [ "audio", "symphonia", "mp3", "nellymoser", "lzma" ] }
ruffle_render_wgpu = { git = "https://github.com/ruffle-rs/ruffle.git", branch = "master" }

View File

@ -10,7 +10,8 @@ use ruffle_core::indexmap::IndexMap;
use ruffle_core::loader::Error;
use ruffle_core::socket::{ConnectionState, SocketAction, SocketHandle};
use std::sync::mpsc::{Receiver, Sender};
use std::sync::mpsc::Sender;
use async_channel::Receiver;
use std::time::Duration;
use url::{ParseError, Url};