Huma Abedin broke down in tears in front of her boss, Hillary Clinton, when she learned that her sext-happy husband Anthony Weiner’s computer was the reason the FBI reopened its probe into Clinton’s emails so close to the 2016 election, according to a new report.

“He is going to kill me,” Abedin sobbed, referring to Weiner.

Clinton — who herself should have been crying at the news just days before Americans went to the polls that Nov. 8 — hugged Abedin and managed to calm her down.

The tableau comes from a new book, “Dear Madam President: An Open Letter to the Women Who Will Run the World,” by Clinton campaign Communications Director Jennifer Palmieri, an excerpt of which was published in Time magazine Wednesday.

The campaign received word just 11 days out from Election Day, and the renewed investigation had such an earth-shattering impact on the race that fired FBI Director James Comey later told Congress it made him “mildly nauseous to think we might have had an impact on the election.”

Palmieri had the sad duty of breaking the news to Clinton.

“I have something to tell you,” she told the former first lady.

“OK!” an upbeat Clinton responded. “What do you have to tell me?”

“It’s bad. Really bad,” Palmieri warned.

But when the other shoe dropped, Clinton kept her cool.

“Yes, I knew we weren’t done,” she said, adding in a deadpan tone: “All right. Let’s talk about what we are going to do about it.”

The feds were investigating Clinton’s handling of classified material and use of a private email server while she was secretary of state.

The FBI ended the probe but renewed it after a separate federal investigation into Weiner’s sexting with an underage girl revealed classified documents Abedin had left on his laptop.

President Trump’s attorney general, Jeff Sessions, has ordered an additional probe into the email server.

Palmieri’s book hits shelves on Tuesday.