okamstudio/godot — pull request #383 by sanikoyes (2014-05-08 08:25:32+00:00)
Title: Fix crash in editor when open new scene in editing

resources_dock->cleanup(); // This will delete GDScript instance (if property_editor->obj is scene's GDScript instance, editor will crash)