Why are my codes disappearing | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why are my codes disappearing

Hey Guys and Girls, the problem is pretty simple, always when I try to play around in the code playground and run it and then come back the code I just tryed out disappeared. That happens with nearly anything I tipe in.

25th May 2022, 6:24 AM
Matthew
Matthew - avatar
3 Answers
+ 1
It sounds like a memory optimization issue. It's clearing the App's work memory due to inactivity. Save your code before you leave the App.
25th May 2022, 6:35 AM
Mustafa A
Mustafa A - avatar
+ 1
It's really weird. I just started the lesson from the beginning and this time I jumped in and out and it didn't disappeared. I think it's just in issue with the app. If you go by guard line there is no problem but if you jump back to do the task later on it dosent work anymore so you have to start the lesson from the beginning until you reach again the task. Thanks for the help tho
25th May 2022, 6:40 AM
Matthew
Matthew - avatar
+ 1
The memory will usually be cleared after a long time of inactivity. It all depends on the implementation though. I would never leave an app without saving though. It's not worth taking the chance with the garbage collector.
25th May 2022, 6:48 AM
Mustafa A
Mustafa A - avatar