From 5d52385fbd666bb09cd67fead685254584d0ad8b Mon Sep 17 00:00:00 2001 From: Javier Serrano Polo Date: Sat, 22 Jul 2006 03:27:54 +0000 Subject: [PATCH] close the engine rather than delete it git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@255 0778d3d1-df1d-0410-868b-ea421aaaa00d --- src/core/main_window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/main_window.cpp b/src/core/main_window.cpp index 0271cdf07..c47a0f335 100644 --- a/src/core/main_window.cpp +++ b/src/core/main_window.cpp @@ -229,7 +229,7 @@ mainWindow::~mainWindow() // destroy config-manager (which automatically saves config-file) */ - delete eng(); + eng()->close(); }