Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 330 vs 331 for /trunk/Source Code/Core/Application.cpp

Diff revisions: vs.
  @@ -32,7 +32,8 @@
32 32 size_t sizeLeaked = 0;
33 33 stringImpl allocLog = MemoryManager::AllocTracer.Dump( leakDetected, sizeLeaked );
34 34 if ( leakDetected ) {
35 - ERROR_FN( Locale::get( "ERROR_MEMORY_NEW_DELETE_MISMATCH" ), static_cast<I32>(std::ceil(sizeLeaked / 1024.0f)) );
35 + ERROR_FN(Locale::get( "ERROR_MEMORY_NEW_DELETE_MISMATCH" ),
36 + static_cast<I32>(std::ceil(sizeLeaked / 1024.0f)));
36 37 }
37 38 std::ofstream memLog;
38 39 memLog.open( _memLogBuffer.c_str() );
  @@ -54,7 +55,7 @@
54 55 CONSOLE_TIMESTAMP_ON();
55 56 PRINT_FN(Locale::get("START_APPLICATION"));
56 57 //Create a new kernel
57 - _kernel = New Kernel(argc,argv,this->getInstance());
58 + _kernel = MemoryManager_NEW Kernel(argc, argv, this->getInstance());
58 59 assert(_kernel != nullptr);
59 60 //and load it via an XML file config
60 61 return _kernel->initialize(entryPoint);
  @@ -70,7 +71,7 @@
70 71
71 72 void Application::deinitialize() {
72 73 PRINT_FN( Locale::get( "STOP_KERNEL" ) );
73 - MemoryManager::SAFE_DELETE( _kernel );
74 + MemoryManager::DELETE( _kernel );
74 75 for ( DELEGATE_CBK<>& cbk : _shutdownCallback ) {
75 76 cbk();
76 77 }