Skip to content

Commit

Permalink
Merge pull request #2148 from oscardssmith/os/try-to-fix-leak
Browse files Browse the repository at this point in the history
fix memory leak on repeated `init(prob)`
  • Loading branch information
ChrisRackauckas authored Feb 24, 2024
2 parents 1c2a1d9 + 1632351 commit 2aaacda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/solve.jl
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ function DiffEqBase.__init(prob::Union{DiffEqBase.AbstractODEProblem,
progress_steps = 1000,
progress_name = "ODE",
progress_message = ODE_DEFAULT_PROG_MESSAGE,
progress_id = gensym("OrdinaryDiffEq"),
progress_id = progress ? gensym("OrdinaryDiffEq") : :OrdinaryDiffEq,
userdata = nothing,
allow_extrapolation = alg_extrapolates(alg),
initialize_integrator = true,
Expand Down

0 comments on commit 2aaacda

Please sign in to comment.