From bef049839864f4e24539085d3cf8c78c1dbf51a2 Mon Sep 17 00:00:00 2001 From: Dane Johnson Date: Mon, 8 Mar 2021 13:54:36 -0600 Subject: [PATCH] Let the OS do some cleanup at the end --- core/couch.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/core/couch.cpp b/core/couch.cpp index 6a63f6c..c452996 100644 --- a/core/couch.cpp +++ b/core/couch.cpp @@ -148,13 +148,8 @@ int main() { delta = curTime - lastTime; lastTime = curTime; } - - delete screenShader; - delete skyboxShader; - delete shader; - lua->Close(); - delete lua; + lua->Close(); window.Close(); return 0; }