Skip to content

Commit

Permalink
fix: re-disable debug console in release mode
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtread committed Sep 8, 2024
1 parent 4a5ec10 commit 5b2d7b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ fn attach() {
unsafe { suspend_all_threads() };

// Debug allocates a console window to display output
// #[cfg(debug_assertions)]
#[cfg(debug_assertions)]
{
unsafe { windows_sys::Win32::System::Console::AllocConsole() };
}
Expand Down

0 comments on commit 5b2d7b1

Please sign in to comment.