Nathan Laing
Member
Hi there, two questions on ds data structure volatility;
If the window focus changes can the data in the ds data structures be lost? Is there anything else that can cause the data loss?
In the event the data is lost, the variable that originally held the data still exists within an instance.
Is it necessary to destroy/clear the list associated with that variable before creating a new list and attaching it to that same variable? (i.e. will there be memory leaks)
I want to hold onto the data indefinitely until I am good and ready to destroy the data structure, but I am afraid it will get lost before I am done with it.
If the window focus changes can the data in the ds data structures be lost? Is there anything else that can cause the data loss?
In the event the data is lost, the variable that originally held the data still exists within an instance.
Is it necessary to destroy/clear the list associated with that variable before creating a new list and attaching it to that same variable? (i.e. will there be memory leaks)
I want to hold onto the data indefinitely until I am good and ready to destroy the data structure, but I am afraid it will get lost before I am done with it.