Dark matter (DM) particles can be captured by stars via scattering on ordinary matter. As a benchmark model for s-wave and p-wave annihilation we consider DM annihilation into dark photons and dark scalars which further decay into SM particles. We trace DM capture and annihilation rates throughout the life of a massive star and show that this evolution ends in an observable gamma ray flash. The special feature of the model is that the photon flux from p-wave annihilation is stronger in comparison to the one from s-wave process.