If a player is under the effect of a potion of speed:
When you drink this potion, you gain the effect of the haste spell for 1 minute (no concentration required). The potion’s yellow fluid is streaked with black and swirls on its own.
or a potion of heroism:
For 1 hour after drinking it, you gain 10 temporary hit points that last for 1 hour. For the same Duration, you are under the effect of the bless spell (no concentration required). This blue potion bubbles and steams as if boiling.
Do those effects wear off if the player is reduced to 0 hit points and becomes unconscious before the 1-hour duration is over?