Skip to content

Commit 518f0fd

Browse files
committed
serialized-require and and
1 parent fc40db6 commit 518f0fd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/clojure/clojure/core/async.clj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ IOC and vthread code.
8686
(alias 'core 'clojure.core)
8787

8888
(def ^:private go-becomes-ioc?
89-
(not (or (dispatch/vthreads-available-and-allowed?)
90-
(dispatch/target-vthreads?))))
89+
(not (and (dispatch/vthreads-available-and-allowed?)
90+
(dispatch/target-vthreads?))))
9191

9292
(set! *warn-on-reflection* false)
9393

@@ -533,7 +533,7 @@ IOC and vthread code.
533533
(try
534534
(let [result (binding [*ns* n
535535
clojure.core/*loaded-libs* ll]
536-
(require nsym))]
536+
(#'clojure.core/serialized-require nsym))]
537537
(deliver p result))
538538
(catch Throwable t
539539
(deliver p t))))

0 commit comments

Comments
 (0)