Skip to content

Commit

Permalink
Use require-lock in the last remaining place
Browse files Browse the repository at this point in the history
  • Loading branch information
vemv authored and bbatsov committed Sep 13, 2021
1 parent 95f89d0 commit 1b64607
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/refactor_nrepl/middleware.clj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
[nrepl.transport :as transport]))

(defn- require-and-resolve [sym]
(require (symbol (namespace sym)))
(locking core/require-lock
(require (symbol (namespace sym))))
(resolve sym))

(defn err-info
Expand Down

0 comments on commit 1b64607

Please sign in to comment.