Re: Problem disposing java objects

2018-09-02 Thread Alexander Yakushev
I suspect the problem is with map which is lazy. If you discard the result of the top-level expression it might not be fully completed or not even run at all. To force a lazy collection (thus, triggering the side effects you desire) you could do the following things: (mapv close pages)

Problem disposing java objects

2018-09-02 Thread Arthur Boyer
I have a problem related to disposing of resources. I’m trying to retrieve portions of pdf files and combine them into a new pdf file. I’m using Apache PDFBox for the purpose. Splitting a pdf into pages creates a PDDocument for each page, and PDDocuments need to be explicitly closed. If you do

[ANN] CIDER 0.18 (Saigon) is out!

2018-09-02 Thread Bozhidar Batsov
Hey everyone, Just wanted to let you know I've just released CIDER 0.18 (Saigon)! It's a massive release with a TON of changes and improvements and a MAJOR step on the road to CIDER 1.0! Here are some of the highlights: New features - #2375

[ANN] nREPL 0.4.5 released!

2018-09-02 Thread Bozhidar Batsov
Hey everyone! Just wanted to let you know that a new version of nREPL was released today. Here's the list of (small) changes and improvements: New features - The built-in the CLI generates an .nrepl-port file on server startup. - #39 : Add a