We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f6d5b2f + a4423c8 commit 77a876cCopy full SHA for 77a876c
modules/gdnative/nativescript/nativescript.cpp
@@ -41,6 +41,8 @@
41
#include "core/os/file_access.h"
42
#include "core/os/os.h"
43
44
+#include "main/main.h"
45
+
46
#include "scene/main/scene_tree.h"
47
#include "scene/resources/resource_format_text.h"
48
@@ -1248,6 +1250,7 @@ void NativeScriptLanguage::init() {
1248
1250
if (generate_c_api(E->next()->get()) != OK) {
1249
1251
ERR_PRINT("Failed to generate C API\n");
1252
}
1253
+ Main::cleanup(true);
1254
exit(0);
1255
1256
@@ -1257,6 +1260,7 @@ void NativeScriptLanguage::init() {
1257
1260
if (generate_c_builtin_api(E->next()->get()) != OK) {
1258
1261
ERR_PRINT("Failed to generate C builtin API\n");
1259
1262
1263
1264
1265
1266
#endif
0 commit comments