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:
parent
ff469ab573
commit
4a4d5fcf4e
1 changed files with 6 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue