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)
Merge pull request #383 from sanikoyes/hotfix-Crash-In-Editor

Fix crash in editor when open new scene in editing