Revert "Remove borrow from reveal_path()"
This commit is contained in:
parent
2ec25bef84
commit
8656708de4
3 changed files with 25 additions and 12 deletions
|
@ -191,7 +191,7 @@ impl App {
|
|||
pub fn new(asset_source: impl AssetSource) -> Result<Self> {
|
||||
let platform = platform::current::platform();
|
||||
let foreground = Rc::new(executor::Foreground::platform(platform.dispatcher())?);
|
||||
let foreground_platform = platform::current::foreground_platform();
|
||||
let foreground_platform = platform::current::foreground_platform(foreground.clone());
|
||||
let app = Self(Rc::new(RefCell::new(MutableAppContext::new(
|
||||
foreground,
|
||||
Arc::new(executor::Background::new()),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue