From an evolutionary fitness perspective it doesn't really matter if you die immediately after you're done reproducing (unless your continued survival is key to your kids surviving long enough to have their own kids). Mission accomplished as far as your genes are concerned.