mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 03:36:06 +00:00
Insulate VFS internals a little bit
This commit is contained in:
parent
78a1c658d8
commit
2df1dfa1cb
3 changed files with 19 additions and 7 deletions
|
|
@ -25,7 +25,7 @@ impl VfsWatcher {
|
|||
pub fn start(mut self) {
|
||||
let outer_vfs = self.vfs.lock().unwrap();
|
||||
|
||||
for (partition_name, root_path) in &outer_vfs.partitions {
|
||||
for (partition_name, root_path) in outer_vfs.get_partitions() {
|
||||
let (tx, rx) = mpsc::channel();
|
||||
let partition_name = partition_name.clone();
|
||||
let root_path = root_path.clone();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue