1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-11-23 00:37:10 +02:00

Call deinit() method on exit.

This prevents file descriptors to sysfs files from staying open as the
selected application is executed.
This commit is contained in:
Maarten ter Huurne 2011-09-23 00:48:13 +02:00
parent b997485859
commit 53a73cabc7

View File

@ -450,7 +450,6 @@ void GMenu2X::quit() {
delete s;
SDL_Quit();
unsetenv("SDL_FBCON_DONT_CLEAR");
#ifdef PLATFORM_GP2X
@ -460,9 +459,9 @@ void GMenu2X::quit() {
gp2x_memregs[0x2906>>1]=512;
gp2x_memregs[0x28E4>>1]=gp2x_memregs[0x290C>>1];
}
gp2x_deinit();
}*/
#endif
deinit();
}
void GMenu2X::initBG() {