[Development] QTBUG-48709: calling ::exit() may crash

Marc Mutz marc.mutz at kdab.com
Tue Oct 20 23:51:12 CEST 2015


On Tuesday 20 October 2015 17:56:33 Thiago Macieira wrote:
> Can anyone think of a solution to this problem?

Don't call ::exit()? I'm only half-joking. Who calls ::exit() in a C++ program 
(apart from implicitly by leaving main())?

Wild guess: maybe std::terminate() works better?

-- 
Marc Mutz <marc.mutz at kdab.com> | Senior Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
Tel: +49-30-521325470
KDAB - The Qt Experts



More information about the Development mailing list