Skip to content

Commit

Permalink
fix(script): spawning outside of tokio runtime causing crash
Browse files Browse the repository at this point in the history
Fixes #408.
  • Loading branch information
JakeStanger committed Jan 14, 2024
1 parent e0dc5e1 commit 963f8ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/script.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use crate::send_async;
use crate::{send_async, spawn};
use color_eyre::eyre::WrapErr;
use color_eyre::{Report, Result};
use serde::Deserialize;
Expand All @@ -7,9 +7,9 @@ use std::fmt::{Display, Formatter};
use std::process::Stdio;
use tokio::io::{AsyncBufReadExt, BufReader};
use tokio::process::Command;
use tokio::select;
use tokio::sync::mpsc;
use tokio::time::sleep;
use tokio::{select, spawn};
use tracing::{debug, error, trace, warn};

#[derive(Debug, Deserialize, Clone)]
Expand Down

0 comments on commit 963f8ed

Please sign in to comment.