Preventing outwards emission of flames or hot gases