From 3d1aa88465d257eacb1fa5cf70e198739f2c1a5e Mon Sep 17 00:00:00 2001

From: Jaakko Keranen jaakko.keranen@iki.fi

Date: Sun, 1 Nov 2020 13:33:22 +0200

Subject: [PATCH 1/1] Fixed app cleanup at shutdown

Should clear the garbage before quitting SDL because widgets may be

in the garbage and have SDL resources to release.


src/main.c | 2 ++

1 file changed, 2 insertions(+)

diff --git a/src/main.c b/src/main.c

index de9132ab..2f9eda0e 100644

--- a/src/main.c

+++ b/src/main.c

@@ -59,9 +59,11 @@ int main(int argc, char **argv) {

     return -1;

 }

 run_App(argc, argv);

 SDL_Quit();

#if defined (LAGRANGE_ENABLE_MPG123)

 mpg123_exit();

#endif

 return 0;

}

--

2.25.1

Proxy Information
Original URL
gemini://git.skyjake.fi/lagrange/release/patch/3d1aa88465d257eacb1fa5cf70e198739f2c1a5e.patch
Status Code
Success (20)
Meta
text/plain
Capsule Response Time
28.963794 milliseconds
Gemini-to-HTML Time
0.389732 milliseconds

This content has been proxied by September (ba2dc).