From 625014bcfde818e1f996500b63e934214b8b3a4c Mon Sep 17 00:00:00 2001 From: Nickiel12 <35903114+Nickiel12@users.noreply.github.com> Date: Tue, 28 Jun 2022 20:35:55 -0700 Subject: [PATCH] debug message --- src/main.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main.rs b/src/main.rs index 5a8fc9e..8e5111a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -10,7 +10,10 @@ use crate::modules::stream_states::state_update::StateUpdate; mod tests; mod modules; +#[cfg(target_os = "windows")] +const SERVER_ADDRESS: &str = "10.0.0.114:5000"; +#[cfg(release)] #[cfg(target_os = "windows")] const SERVER_ADDRESS: &str = "10.0.0.209:5000"; @@ -54,6 +57,7 @@ fn main() { handle_instructions(tick_update, &mut state, &socket, &hotkeys); } + println!("closing main thread"); socket.close(); hotkey_handle.join().unwrap(); }