Browse Source

Update commented out code to test for memory leaks.

NathanSweet 11 years ago
parent
commit
54ae334637
1 changed files with 1 additions and 1 deletions
  1. 1 1
      spine-cocos2dx/example/Classes/ExampleLayer.cpp

+ 1 - 1
spine-cocos2dx/example/Classes/ExampleLayer.cpp

@@ -49,7 +49,7 @@ bool ExampleLayer::init () {
 
 void ExampleLayer::update (float deltaTime) {
 	// Test releasing memory.
-	// if (entry->time > 0.1) CCDirector::sharedDirector()->replaceScene(ExampleLayer::scene());
+	// CCDirector::sharedDirector()->replaceScene(ExampleLayer::scene());
 }
 
 void ExampleLayer::animationStateEvent (CCSkeletonAnimation* node, int trackIndex, spEventType type, spEvent* event, int loopCount) {