forked from rojo-rbx/rojo
Merge pull request #22 from Quenty/fix-21-high-cpu
Fix #21: High CPU usage in a small project
This commit is contained in:
@@ -193,7 +193,9 @@ fn main() {
|
||||
|
||||
println!("Server listening on port {}", port);
|
||||
|
||||
loop {}
|
||||
loop {
|
||||
thread::park();
|
||||
}
|
||||
},
|
||||
("pack", _) => {
|
||||
eprintln!("'rojo pack' is not yet implemented!");
|
||||
|
||||
@@ -92,6 +92,8 @@ impl VfsWatcher {
|
||||
}
|
||||
}
|
||||
|
||||
loop {}
|
||||
loop {
|
||||
thread::park();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user