From 34252ad11fe31df089d647b7dfaee21e49ef10c0 Mon Sep 17 00:00:00 2001 From: Jeff Bezanson Date: Thu, 11 Apr 2013 12:36:53 -0400 Subject: [PATCH] fix #2829, regression in reload --- base/loading.jl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/base/loading.jl b/base/loading.jl index b6e7b64e3e8a9..df0446246818c 100644 --- a/base/loading.jl +++ b/base/loading.jl @@ -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