mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-23 06:05:24 +00:00
Use ::park() instead of ::sleep()
This commit is contained in:
@@ -195,7 +195,7 @@ fn main() {
|
|||||||
println!("Server listening on port {}", port);
|
println!("Server listening on port {}", port);
|
||||||
|
|
||||||
loop {
|
loop {
|
||||||
thread::sleep(Duration::from_secs(1));
|
thread::park();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
("pack", _) => {
|
("pack", _) => {
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ impl VfsWatcher {
|
|||||||
}
|
}
|
||||||
|
|
||||||
loop {
|
loop {
|
||||||
thread::sleep(Duration::from_secs(1));
|
thread::park();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user