X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMainLayer.cc;h=6a426fb8f41c89cfba117571a945a554854fffb9;hp=3429f52c5663f932b677407ab6c904a33d875c62;hb=c9e20ac06383b20ceb5404c9237e319c2e90d157;hpb=8a1acac01b444dccf8b57cedf08392ada2e473c1 diff --git a/src/MainLayer.cc b/src/MainLayer.cc index 3429f52..6a426fb 100644 --- a/src/MainLayer.cc +++ b/src/MainLayer.cc @@ -129,13 +129,8 @@ bool MainLayer::handleEvent(const Mf::Event& event) 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(); -#endif }