behaviour-tree-test/modules/gdnative
Maarten Heremans cf09952b6b Fixes crash when loading *.escn resources with gdnative #20141
The issue is that ResourceFormatLoaderText is a singleton. It was created in a faulty way in
ResourceFormatLoaderNativeScript::load
It was created on the stack, which caused the static singleton pointer to be overwritten. This
causes then segmentation faults if the singleton is used later on.

IMO singleton creation needs to made safer to avoid other similar issues in the future.
2018-10-22 16:45:02 +02:00
..
android
arvr
doc_classes
gdnative
include
nativescript Fixes crash when loading *.escn resources with gdnative #20141 2018-10-22 16:45:02 +02:00
net
pluginscript
config.py
gdnative.cpp
gdnative.h
gdnative_api.json
gdnative_builders.py
gdnative_library_editor_plugin.cpp
gdnative_library_editor_plugin.h
gdnative_library_singleton_editor.cpp
gdnative_library_singleton_editor.h
register_types.cpp
register_types.h
SCsub