Skip to content

Commit

Permalink
fix #2829, regression in reload
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffBezanson committed Apr 11, 2013
1 parent b375d5d commit 34252ad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion base/loading.jl
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,9 @@ function reload_path(path)
tls[:SOURCE_PATH] = prev
end
end
put(package_locks[path],nothing)
if !isready(package_locks[path])
put(package_locks[path],nothing)
end
nothing
end

Expand Down

0 comments on commit 34252ad

Please sign in to comment.