godot_data_editor icon indicating copy to clipboard operation
godot_data_editor copied to clipboard

don't clear resources on exit

Open ykoc opened this issue 7 years ago • 0 comments

Using this add-on with Steam version of Godot (i.e. 2.1.4 stable) I always get an error

ERROR: SelfList<class GDScript>::List::~List: Condition '  _first!=0 ' is true"
At: core\self_list.h:80

after stopping debug session (by closing game via close button or via coded in-game button or by Stop the scene button in editor). Official site states that this error is caused by nodes outside the SceneTree that were not freed correctly. After I had disabled loading of data.gd the error disappeared, so I suppose that those nodes were nodes that are used as database tables or records. So

  1. is this caused by the fact that during debugging database is shared between game and editor (so this error means nothing)?
  2. won't it cause a memory leak in the exported project?

ykoc avatar Jan 09 '18 13:01 ykoc