In Page 53 of "Lie Groups" by Duistermaat and Kolk, we find the following:
A map $f:X\rightarrow Y$ between topological spaces is proper if $f^{-1}(K)$ is compact for each compact $K\subseteq Y$.
It is then claimed that if $X$ and $Y$ are Hausdorff then $f$ is a closed map (that is, if $C\subseteq X$ is closed then $f(C)$ is closed in $Y$).
I have not been able to prove this. In various locations, you can find a proof that if $Y$ is Hausdorff and locally compact then proper implies closed (e.g. this answer on MSE).
Is this result true just under the Hausdorff condition? If not, what is a counter-example?