mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2024-11-23 04:44:04 +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:
parent
b997485859
commit
53a73cabc7
@ -450,7 +450,6 @@ void GMenu2X::quit() {
|
|||||||
delete s;
|
delete s;
|
||||||
|
|
||||||
SDL_Quit();
|
SDL_Quit();
|
||||||
|
|
||||||
unsetenv("SDL_FBCON_DONT_CLEAR");
|
unsetenv("SDL_FBCON_DONT_CLEAR");
|
||||||
|
|
||||||
#ifdef PLATFORM_GP2X
|
#ifdef PLATFORM_GP2X
|
||||||
@ -460,9 +459,9 @@ void GMenu2X::quit() {
|
|||||||
gp2x_memregs[0x2906>>1]=512;
|
gp2x_memregs[0x2906>>1]=512;
|
||||||
gp2x_memregs[0x28E4>>1]=gp2x_memregs[0x290C>>1];
|
gp2x_memregs[0x28E4>>1]=gp2x_memregs[0x290C>>1];
|
||||||
}
|
}
|
||||||
gp2x_deinit();
|
|
||||||
}*/
|
}*/
|
||||||
#endif
|
#endif
|
||||||
|
deinit();
|
||||||
}
|
}
|
||||||
|
|
||||||
void GMenu2X::initBG() {
|
void GMenu2X::initBG() {
|
||||||
|
Loading…
Reference in New Issue
Block a user