mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-20 17:41:37 +00:00
Merge pull request #22 from Quenty/fix-21-high-cpu
Fix #21: High CPU usage in a small project
This commit is contained in:
commit
2e340ff78c
2 changed files with 6 additions and 2 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue