Quick fix initialization (#3274)

This commit is contained in:
Adam Obuchowicz 2022-02-14 19:04:31 +01:00 committed by GitHub
parent 03e105d42e
commit 16a7ec7300
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,7 +62,7 @@ impl Initializer {
pub fn start_and_forget(self) {
let executor = setup_global_executor();
executor::global::spawn(async move {
let ide = self.start();
let ide = self.start().await;
web::get_element_by_id("loader")
.map(|t| t.parent_node().map(|p| p.remove_child(&t).unwrap()))
.ok();