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