Cube plugin fix
This small patch aims to fix a trivial problem: when exiting the "cube" plugin in a hosted environment (at least on YP-R0) this caused the whole program, and consequently also the player, to be turned off. I don't know why the exit() function was used here... Change-Id: I7b58d4ca5c01c230f2c53204b51ec553c5fe1287 Reviewed-on: http://gerrit.rockbox.org/321 Reviewed-by: Bertrik Sikken <bertrik@sikken.nl>
This commit is contained in:
parent
737dafe7df
commit
c01a728c5a
|
@ -902,7 +902,7 @@ enum plugin_status plugin_start(const void* parameter)
|
|||
case CUBE_RC_QUIT:
|
||||
#endif
|
||||
case CUBE_QUIT:
|
||||
exit(EXIT_SUCCESS);
|
||||
quit = true;
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue