Skip to content

Commit

Permalink
comment atexit
Browse files Browse the repository at this point in the history
  • Loading branch information
joaquimg committed Oct 21, 2020
1 parent 93d3ece commit 2db9101
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/Xpress.jl
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,12 @@ module Xpress
function initialize()
userlic()
init() # Call XPRSinit for initialization
atexit(free) # Call free when process terminates
# free is not strictly necessary since destroyprob is called
# inthe finalizer.
# the user can call free if needed.
# leaving it uncommented results in many print errors becaus
# it is called prior to finalizers.
# atexit(free) # Call free when process terminates
end

include("MOI/MOI_wrapper.jl")
Expand Down

0 comments on commit 2db9101

Please sign in to comment.