[bug] Tab Controller: Not checking nil values
Posted: Mon Oct 06, 2008 18:32
Hi,
It seems that if you try to add a tab that is nil (I just had the error because i forgot to do some stuff before) the whole application + game crashes... (which makes debugging your lua code a bit hard when you don't have any dumps and you can't debug
).
So, just check for nil values I guess in the addTab and removeTab methods of the Tab Controller.
If the bug has already been reported, just delete the post
regards,
It seems that if you try to add a tab that is nil (I just had the error because i forgot to do some stuff before) the whole application + game crashes... (which makes debugging your lua code a bit hard when you don't have any dumps and you can't debug
So, just check for nil values I guess in the addTab and removeTab methods of the Tab Controller.
If the bug has already been reported, just delete the post
regards,