By Melody Chiu
May 29, 2020 03:55 PM
Remy Martin Presents A Special Evening - Arrivals
Credit: David Livingston/Getty

As Jaime King and Kyle Newman approach a court date that may determine custody of their two sons, a source close to the actress tells PEOPLE the star is staying strong with support from loved ones.

"It's been a difficult time, but she's leaning on friends," says the source. "She's been doing a lot of yoga and meditation."

After filming the upcoming season of her Netflix show Black Summer earlier this year, King — who is also a producer on the series — is "keeping busy with work and post-production while trying to lay low," adds the source.

Earlier this month, King, 41, filed for divorce from the director, 44, after 12 years of marriage, along with a request for a temporary restraining order that was later granted by a judge.

Jaime King and Kyle Newman arrive at the Kaleidoscope 5: LIGHT event on in Culver City, Calif Kaleidoscope 5: LIGHT, Culver City, USA - 5 May 2017
Jaime King and Kyle Newman
| Credit: Invision/AP/Shutterstock

Jaime King and Kyle Newman

Amid their contentious split, the couple's sons, James Knight, 6, and Leo Thames, 4, have been staying in Pennsylvania with Newman.

In court documents obtained by PEOPLE, King claimed Newman was withholding their sons from her. Newman responded with his own series of allegations that King has engaged in reckless behaviors that have endangered the children.

RELATED VIDEO: Jaime King Says Thrilling Netflix Series 'Black Summer' Was Written as a 'Love Letter to a Mother's Strength'

A judge has denied both Newman and King's requests for an emergency order relating to custody, and their sons will remain in Pennsylvania until a non-emergency hearing can take place next month.

King and Newman met on the set of the film Fanboys, which Newman directed. They tied the knot in 2007 at the Greystone Park and Manor in Los Angeles, which also marked site of their first date more than a year prior to the ceremony.

“I don’t know why, but some part of me was instantly connected to him, and I loved him so much,” King told InStyle Weddings at the time. “It was intense. I never thought that would happen to me.”