Skip to content

Commit

Permalink
Set version to 11.0.671
Browse files Browse the repository at this point in the history
  • Loading branch information
niwinz committed May 21, 2023
1 parent 51e6fb3 commit 69dcb52
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog #

## Version 11.0.671

- Fix issue on channel close operation (cljs only)


## Version 11.0.670

- Add minor performance optimizations to internal PromiseImpl (cljs only)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ Here you can look a detailed [documentation][1].
deps.edn:

```clojure
funcool/promesa {:mvn/version "11.0.670"}
funcool/promesa {:mvn/version "11.0.671"}
```

Leiningen:

```clojure
[funcool/promesa "11.0.670"]
[funcool/promesa "11.0.671"]
```

## On the REPL
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>funcool</groupId>
<artifactId>promesa</artifactId>
<version>10.0</version>
<version>11.0</version>
<name>promesa</name>
<description>A promise library and concurency toolkit for Clojure and ClojureScript.</description>
<url>https://github.com/funcool/promesa</url>
Expand Down
7 changes: 4 additions & 3 deletions src/promesa/exec/csp/channel.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -352,14 +352,15 @@
(when-let [taker (first items)]
(when-let [take-fn (commit! taker)]
(if-let [val (some-> buf pt/-poll!)]
(px/exec! executor (partial take-fn val nil))
(px/exec! executor (partial take-fn nil @error))))
(px/exec! executor #(take-fn val nil))
(let [error @error]
(px/exec! executor #(take-fn nil error)))))
(recur (rest items))))

(loop [items (seq @puts)]
(when-let [[putter] (first items)]
(when-let [put-fn (commit! putter)]
(px/exec! executor (partial put-fn false)))
(px/exec! executor #(put-fn false)))
(recur (rest items))))

(finally
Expand Down

0 comments on commit 69dcb52

Please sign in to comment.