diff options
| author | mat <git@matdoes.dev> | 2025-02-23 17:10:47 +0000 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-02-23 17:10:47 +0000 |
| commit | 2be4f0f2b66eb7181badec0134c3c3565e3cbd7f (patch) | |
| tree | 1365332b5ba2ef7e4a6b0e2b187ea1889b2572a3 /azalea-client/src/test_simulation.rs | |
| parent | 21acf4c84687eb40cb52746bdf40c2bbe9ab325a (diff) | |
| download | azalea-drasl-2be4f0f2b66eb7181badec0134c3c3565e3cbd7f.tar.xz | |
make run_schedule a bounded channel
Diffstat (limited to 'azalea-client/src/test_simulation.rs')
| -rw-r--r-- | azalea-client/src/test_simulation.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-client/src/test_simulation.rs b/azalea-client/src/test_simulation.rs index 27cf4a57..b9e9b8ec 100644 --- a/azalea-client/src/test_simulation.rs +++ b/azalea-client/src/test_simulation.rs @@ -111,7 +111,7 @@ fn create_local_player_bundle( tokio::runtime::Runtime, ) { // unused since we'll trigger ticks ourselves - let (run_schedule_sender, _run_schedule_receiver) = mpsc::unbounded_channel(); + let (run_schedule_sender, _run_schedule_receiver) = mpsc::channel(1); let (outgoing_packets_sender, mut outgoing_packets_receiver) = mpsc::unbounded_channel(); let incoming_packet_queue = Arc::new(Mutex::new(Vec::new())); |
