variables retaining values after app close

前端 未结 6 699
情歌与酒
情歌与酒 2021-01-28 11:23

My app is retaining all of the variable values when it closes and this is effecting how it runs when reopened. Is there any way to reset them all upon app close? or is there a w

6条回答
  •  天涯浪人
    2021-01-28 11:41

    Uninitialized variables are bad. Don't do it. ALWAYS manually reset variables before using them for the first time.

提交回复
热议问题