Ignore:
Timestamp:
Jul 28, 2010, 5:13:22 PM (14 years ago)
Author:
Torben Dannhauer
Message:

Introductes VS 2008 Memory Leak Debugging.
Todo: Compile on Linux and compare with Valgrind, VS 2008 seems to be awkward in leak debugging

File:
1 edited

Legend:

Unmodified
Added
Removed
  • osgVisual/src/draw2D/visual_debug_hud.cpp

    r31 r87  
    2121visual_debug_hud::visual_debug_hud(void)
    2222{
    23 
     23        #include <leakDetection.h>
    2424}
    2525
     
    5151        if (isInitialized)
    5252        {       
     53                // Remove Draw Content
     54                visual_draw2D::getInstance()->removeDrawContent("HUD");
     55
    5356                // Remove updatecallback
    54                 this->removeUpdateCallback( updateCallback );
     57                this->removeEventCallback( updateCallback );
    5558                updateCallback = NULL;
    5659        }
Note: See TracChangeset for help on using the changeset viewer.