Re: Problem disposing java objects

2018-09-03 Thread aboy021
Sorted! Thank you. On Monday, 3 September 2018 17:32:15 UTC+12, Alexander Yakushev wrote: > > 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,

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)