Leaving after dying

What happens if I leave after dying but my other team mates are still fighting?

Do I get some of the mats too or nah?