What happens to the bodies and items that are trapped in a gelatinous cube when the cube dies. I ask this due to the fact that last night out Party Cleric 8 and Druid 8 were consumed and died inside one. The whole Encounter took place in magical darkness. The Cleric was long dead before the cube died but I however was Just dying -2 hp. I made my stabilization check but the DM ruled that the acid damage would still continue after the cube died. Now the questions
What happens to a cube when it dies, does it dissolve or stay solid.
Does the acid Damage continue after the death of the cube.
How long would it take another Character to remove another body from the cube if you remain trapped after the death of the cube. Remembering the Magical Darkness
I am not complaining about the DM's Ruling but myself, the other players where just wondering about the rules or what other thought about this.
What happens to a cube when it dies, does it dissolve or stay solid.
Does the acid Damage continue after the death of the cube.
How long would it take another Character to remove another body from the cube if you remain trapped after the death of the cube. Remembering the Magical Darkness

I am not complaining about the DM's Ruling but myself, the other players where just wondering about the rules or what other thought about this.