]> Dogcows Code - chaz/yoink/blobdiff - src/MainLayer.cc
sleep forever bug fixed
[chaz/yoink] / src / MainLayer.cc
index 3429f52c5663f932b677407ab6c904a33d875c62..6a426fb8f41c89cfba117571a945a554854fffb9 100644 (file)
@@ -129,13 +129,8 @@ bool MainLayer::handleEvent(const Mf::Event& event)
 
 void MainLayer::quit()
 {
 
 void MainLayer::quit()
 {
-#if NDEBUG
-       // we don't really need to unwind the stack and shut everything down because
-       // the operating system will take care of cleaning up
-       exit(0);
-#else
+       // remove all the layers
        mEngine->clear();
        mEngine->clear();
-#endif
 }
 
 
 }
 
 
This page took 0.017572 seconds and 4 git commands to generate.