Come unglued

To lose emotional control.

The woman came unglued when she learned that she had lost her job.