The death of Homelander in the comics was the result of a carefully orchestrated plan by a coalition of his adversaries. Each played a crucial role in bringing him down.
Well, Homelander is killed in the comics when a series of strategic and unexpected events unfold. A combination of his enemies' clever planning and his own vulnerabilities lead to his demise.
In the comics, it's a complex situation. Different storylines might have different outcomes, but as of the common ones, no one has directly killed Homelander.