Skip to content

Commit

Permalink
bring return into lock
Browse files Browse the repository at this point in the history
  • Loading branch information
IanButterworth committed Oct 24, 2020
1 parent 6478ecd commit f4ee837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/loadsave.jl
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ function checked_import(pkg::Symbol)
m = _findmod(pkg)
m == nothing || return Base.loaded_modules[m]
topimport(pkg)
return Base.loaded_modules[_findmod(pkg)]
end
return Base.loaded_modules[_findmod(pkg)]
end


Expand Down

0 comments on commit f4ee837

Please sign in to comment.