a4a0e64245
binding_functions.size() and an instance's binding_data.size() can get out of sync. They sync up when an instance's bindings are requested. When binding functions are registered after creating an instance's bindings, the instance's bindings are out of sync until requested again. If they're never requested, they're never synced. unregister_binding_functions indexes into binding_data, but only checks that its safe to index into binding_functions. When they're out of sync, indexing fails. This revision checks that it's safe to index into binding_data. |
||
---|---|---|
.. | ||
SCsub | ||
api_generator.cpp | ||
api_generator.h | ||
godot_nativescript.cpp | ||
nativescript.cpp | ||
nativescript.h | ||
register_types.cpp | ||
register_types.h |