1
0
Fork 0
forked from len0rd/rockbox

Oops. Have to explicitly remove the lcd enable notify before exiting or it will crash later for sure if another plugin is loaded.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17644 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Sevakis 2008-05-28 11:44:06 +00:00
parent ff469ab573
commit 4a4d5fcf4e

View file

@ -1598,6 +1598,12 @@ static void button_loop(void)
wvs_stop();
#ifdef HAVE_LCD_ENABLE
/* Be sure hook is removed before exiting since the stop will put it
* back because of the backlight restore. */
rb->lcd_set_enable_hook(NULL);
#endif
rb->lcd_setfont(FONT_UI);
}