Replaced usage of onEnd with usage of CodeEmitter.add in visitClosure in BodyVisitor.
Replaced usage of onEnd with usage of CodeEmitter.add in visitClosure in
BodyVisitor.

Signed-off-by: Jakob Brandsborg Ehmsen <387ed33cc9ebf98b733caa2520baacd616b28aa5@gmail.com>
jakobehmsen/duro