Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add closing PushbackReader

  • Loading branch information...
commit 639a73dfaa83ccb5e511fd57685609885a2fde64 1 parent 871b1bc
Takahiro Hozumi authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  src/hozumi/embed.clj
View
3  src/hozumi/embed.clj
@@ -9,7 +9,8 @@
(let [c (.read pbr)
c (if (= -1 c) -1 (char c))]
(condp = c
- -1 `(str ~@acc ~(.toString sb))
+ -1 (do (.close pbr)
+ `(str ~@acc ~(.toString sb)))
\# (let [c2 (.read pbr)
c2 (if (= -1 c) -1 (char c2))]
(condp = c2
Please sign in to comment.
Something went wrong with that request. Please try again.