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:
cxl 2021-02-06 18:51:23 +00:00
parent 9fc9c1fefe
commit df5b42fa93
3 changed files with 6 additions and 6 deletions

View file

@ -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>

View file

@ -169,7 +169,7 @@
#define CPU_32 1
#define CPU_IA32 1
#define CPU_SSE2 1
#endif
#endif
#endif
#ifdef flagCLR

View file

@ -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!");