That looks like it was either underwater too long or too wet and humid in the terrarium. A few hours' soak is usually enough to kill bugs. I have left heavily infested larger plants for up to 24 hours. But I have also seen plants look like this after being too wet and humid inside an enclosure.
__________________ May the bridges I've burned light my way.