United Kingdom, April 13 -- Olivia Munn was "done" with acting after the birth of her son.

The 44-year-old actress - who has Malcolm, three, and six-month-old Mei with husband John Mulaney - spent months suffering from anxiety attacks after welcoming her first child into the world and began considering a new career in editing, producing or writing.

She recalled to the Los Angeles Times newspaper: "I called my agents and my manager and said, 'I'm done being in front of the camera - don't put me up for anything.' "

But Olivia had a change of heart when she was offered the role of divorcee Sam in 'Your Friends and Neighbors', only to then be diagnosed with breast cancer.

The actress began filming after completing her treatment and was in...