Nothing inhumane about that. Instant death is much better than dropping off and abandoning them.
I also should mention that this was during the Great Depression, and my Grandmother’s family wouldn’t have been able to afford a trip to the Vet for a sick dog.