Page 1 of 1

[Native] Init and Shutdown

Posted: 01 Jan 2017, 05:12
by decai
Hi guys,

Happy new year!

In the iOS metal integration sample we call Init() then Shutdown() then Init(), the second Init() will throw and exception "Already initialized". Is that we should call Init just one time even we called Shutdown()?
Thanks!

Decai.

Re: [Native] Init and Shutdown

Posted: 03 Jan 2017, 02:14
by jsantos
For now, we don't support doing several Init/Shutdown cycles in the same execution. It has been requested several times and we are working on it, although the solution is not trivial.

So, for now, only one Init() and Shutdow() is going to work. May I ask why do you need more than one Init?

Sorry for the inconvenience.

Re: [Native] Init and Shutdown

Posted: 03 Jan 2017, 05:26
by decai
Hi,

That our app has a special use of NoesisGUI, we can fix it. Thanks.

Re: [Native] Init and Shutdown

Posted: 03 Jan 2017, 13:47
by jsantos
Good to know. Thanks!