Posted 07 July 2012 - 10:24 PM
I have a menu navigation script that uses 6 buttons to navigate through a menu on a large monitor…
the menu navigation is all working, the pages are all working, however when I terminate, it spams the console with "Terminated"
i'm assuming this is because I am calling a parallel.waitForAny(x, y), then later on i'm calling parallel.waitForAny(x, y) again
I did try to eliminate this problem by making it use os.run({}, "menu") instead of re-loading the main menu function in parallel when I navigate back to main menu, but it's still giving "Terminated" like 10 (some times more) times..
so, can I 'clean up' all parallel sessions before starting a new one? or do I have to quit the script to clean it up?
the menu navigation is all working, the pages are all working, however when I terminate, it spams the console with "Terminated"
i'm assuming this is because I am calling a parallel.waitForAny(x, y), then later on i'm calling parallel.waitForAny(x, y) again
I did try to eliminate this problem by making it use os.run({}, "menu") instead of re-loading the main menu function in parallel when I navigate back to main menu, but it's still giving "Terminated" like 10 (some times more) times..
so, can I 'clean up' all parallel sessions before starting a new one? or do I have to quit the script to clean it up?