mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-23 06:05:24 +00:00
Fix warnings around ChangeProcessor
This commit is contained in:
@@ -16,7 +16,7 @@ use crate::{
|
|||||||
|
|
||||||
pub struct ChangeProcessor {
|
pub struct ChangeProcessor {
|
||||||
shutdown_sender: Sender<()>,
|
shutdown_sender: Sender<()>,
|
||||||
thread_handle: JoinHandle<()>,
|
_thread_handle: JoinHandle<()>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl ChangeProcessor {
|
impl ChangeProcessor {
|
||||||
@@ -34,7 +34,7 @@ impl ChangeProcessor {
|
|||||||
|
|
||||||
Self {
|
Self {
|
||||||
shutdown_sender,
|
shutdown_sender,
|
||||||
thread_handle,
|
_thread_handle: thread_handle,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ pub struct ServeSession<F> {
|
|||||||
/// filesystem, applying them, updating the Roblox instance tree, and
|
/// filesystem, applying them, updating the Roblox instance tree, and
|
||||||
/// routing messages through the session's message queue to any connected
|
/// routing messages through the session's message queue to any connected
|
||||||
/// clients.
|
/// clients.
|
||||||
change_processor: ChangeProcessor,
|
_change_processor: ChangeProcessor,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Methods that need thread-safety bounds on ImfsFetcher are limited to this
|
/// Methods that need thread-safety bounds on ImfsFetcher are limited to this
|
||||||
@@ -93,7 +93,7 @@ impl<F: ImfsFetcher + Send + 'static> ServeSession<F> {
|
|||||||
tree,
|
tree,
|
||||||
message_queue,
|
message_queue,
|
||||||
imfs,
|
imfs,
|
||||||
change_processor,
|
_change_processor: change_processor,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user