how to turn off or suppress "Detected memory leaks" ?
-
I'm implementing what some call "fast quit", where, after all important data is saved, the app just commits suicide, without disposing or deallocating any more data structures or windows or anything.
this works: quitting is very fast!
however, then i'm stuck in the debugger watching a hundred pages of leak detection reports.
How do i turn that off?
-
I'm implementing what some call "fast quit", where, after all important data is saved, the app just commits suicide, without disposing or deallocating any more data structures or windows or anything.
this works: quitting is very fast!
however, then i'm stuck in the debugger watching a hundred pages of leak detection reports.
How do i turn that off?
@davecotter
Without knowing what platform or debugger you use? This is a debugger thing rather than a Qt Creator one, I usegcc
&gdb
under Linux, I do not get any "leak detection reports" on exiting. Unless I were to run it under valgrind.