Skip to content

Commit

Permalink
fixing crash due to redirect_stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
Janis Erdmanis committed Jul 4, 2024
1 parent b6e5672 commit e5b101b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions recipes/windows/main.jl
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ include("startup/precompile.jl")
end

if !WINDOWS_STARTUP.debug
redirect_stdout()
redirect_stderr()

# If uncommented uppon error the application crashes
# redirect_stdout()
# redirect_stderr()
include(joinpath(@__DIR__, "startup", "init.jl")) # One may set up a logging there
end
include(joinpath(@__DIR__, ENV["APP_NAME"], "main.jl"))

0 comments on commit e5b101b

Please sign in to comment.