mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
Core: leaks check disabled in MacOS
git-svn-id: svn://ultimatepp.org/upp/trunk@15742 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
9fc9c1fefe
commit
df5b42fa93
3 changed files with 6 additions and 6 deletions
|
|
@ -88,8 +88,8 @@
|
|||
#include <signal.h>
|
||||
#include <syslog.h>
|
||||
#include <float.h>
|
||||
#include <fenv.h>
|
||||
#ifdef PLATFORM_SOLARIS
|
||||
#include <fenv.h>
|
||||
#ifdef PLATFORM_SOLARIS
|
||||
#include <inttypes.h>
|
||||
#else
|
||||
#include <stdint.h>
|
||||
|
|
|
|||
|
|
@ -169,7 +169,7 @@
|
|||
#define CPU_32 1
|
||||
#define CPU_IA32 1
|
||||
#define CPU_SSE2 1
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef flagCLR
|
||||
|
|
|
|||
|
|
@ -196,12 +196,12 @@ void MemoryDumpLeaks()
|
|||
{
|
||||
if(PanicMode)
|
||||
return;
|
||||
#ifndef PLATFORM_MACOS
|
||||
#ifdef PLATFORM_MACOS
|
||||
return; // ignore leaks in macos
|
||||
#endif
|
||||
if(IsMainRunning()) {
|
||||
VppLog() << "Application was terminated in a non-standard way (e.g. exit(x) call or Ctrl+C)\n";
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
#ifndef PLATFORM_POSIX
|
||||
if(s_ignoreleaks)
|
||||
Panic("Ignore leaks Begin/End mismatch!");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue