forked from rojo-rbx/rojo
Use ::park() instead of ::sleep()
This commit is contained in:
@@ -195,7 +195,7 @@ fn main() {
|
||||
println!("Server listening on port {}", port);
|
||||
|
||||
loop {
|
||||
thread::sleep(Duration::from_secs(1));
|
||||
thread::park();
|
||||
}
|
||||
},
|
||||
("pack", _) => {
|
||||
|
||||
@@ -93,7 +93,7 @@ impl VfsWatcher {
|
||||
}
|
||||
|
||||
loop {
|
||||
thread::sleep(Duration::from_secs(1));
|
||||
thread::park();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user