decai
Topic Author
Posts: 31
Joined: 06 Jul 2016, 18:19

[Native] Init and Shutdown

01 Jan 2017, 05:12

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.
 
User avatar
jsantos
Site Admin
Posts: 2905
Joined: 20 Jan 2012, 17:18
Contact:

Re: [Native] Init and Shutdown

03 Jan 2017, 02:14

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.
 
decai
Topic Author
Posts: 31
Joined: 06 Jul 2016, 18:19

Re: [Native] Init and Shutdown

03 Jan 2017, 05:26

Hi,

That our app has a special use of NoesisGUI, we can fix it. Thanks.
 
User avatar
jsantos
Site Admin
Posts: 2905
Joined: 20 Jan 2012, 17:18
Contact:

Re: [Native] Init and Shutdown

03 Jan 2017, 13:47

Good to know. Thanks!

Who is online

Users browsing this forum: jsantos and 0 guests