We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ca8625 commit 13f9287Copy full SHA for 13f9287
src/main/clojure/clojure/core/async/impl/dispatch.clj
@@ -105,7 +105,9 @@
105
(if (= workload :core-async-dispatch)
106
(executor-for :io)
107
(default-executor-factory workload)))
108
- (default-executor-factory workload)))))
+ (if (= workload :core-async-dispatch)
109
+ (executor-for :io)
110
+ (default-executor-factory workload))))))
111
112
(defn exec
113
[^Runnable r workload]
@@ -117,4 +119,4 @@
117
119
[^Runnable r]
118
120
(if (-> r meta :on-caller?)
121
(try (.run r) (catch Throwable t (ex-handler t)))
- (exec r :io)))
122
+ (exec r :core-async-dispatch)))
0 commit comments