Files
xmonad-contrib/XMonad/Actions
Ruben Astudillo ed5d6f0d78 Fix historyHook memory leak
updateHistory leaks unfiltered windows from previous states as it is never
forced. The consumer of such data structure is not visible to ghc, so the
demand analysis has to fallback on pure laziness.

We fix this inserting evaluation points on the `historyHook` function. We do
this for two reasons, this is the only function calling `updateHistory`.
Plus we cannot do it clearly at the `updateHistory` function as we operate
inside a continuation on withWindowSet. In respect to the `put`, everything
would be a big thunk.
2021-11-23 17:50:18 -03:00
..
2021-11-05 10:14:20 +00:00
2021-10-14 17:57:00 +02:00
2021-11-05 10:14:20 +00:00
2021-11-23 17:50:18 -03:00
2021-11-05 10:14:20 +00:00