lib/app: move stuff from `App::init` to a new function, `App::sepup`
authorJean Privat <jean@pryen.org>
Mon, 9 Jun 2014 14:03:20 +0000 (10:03 -0400)
committerJean Privat <jean@pryen.org>
Tue, 10 Jun 2014 15:55:19 +0000 (11:55 -0400)
commitfe9668ced9b4ec0a7ccb6a089baf0f413783c0d2
tree726cb735d166f1e77cd766907f6e6e9d13349d88
parent47e185a7c822d964e0a25428c971891b9cd33bce
lib/app: move stuff from `App::init` to a new function, `App::sepup`

Because of the `app` method is a `once new App`, the result of the `new`
is not stored until the `new` returns.
Therefore, suggests to doing stuff during the construction of App might
invoke something that use `app` as a global symbol, thus causing an
infinite recursions.
lib/android/native_app_glue.nit
lib/app.nit
lib/mnit_linux/linux_app.nit
lib/mnit_linux/linux_assets.nit