Escape doesn't appear to wipe any obtained crowbar or flashlight from your inventory once deceased if they have been obtained. Unfortunately don't have any evidence of this occurring, but it seemed to occur on every respawn.
The crowbar is deliberate as you're meant to spawn with it, the flashlight is a bug (Which I've seen myself). Annoyingly, the code is correct, but doesn't seem to have the right behaviour so need to work out why.