fix: memory pressure during dart allocations from luau trampoline cal… (#12540) 2dab5352d7
* fix: memory pressure during dart allocations from luau trampoline callbacks
* chore: remove fprints

Co-authored-by: hernan <hernan@rive.app>
diff --git a/.rive_head b/.rive_head
index 014039e..ca40105 100644
--- a/.rive_head
+++ b/.rive_head
@@ -1 +1 @@
-60b685278c4c79eb3cb85c8c29d4a22886a3a10f
+2dab5352d72f600f862ec8f6eccc45c1b485a1d5
diff --git a/src/assets/script_asset.cpp b/src/assets/script_asset.cpp
index 1fc0726..8b0021f 100644
--- a/src/assets/script_asset.cpp
+++ b/src/assets/script_asset.cpp
@@ -73,11 +73,6 @@
     // (meaning generator-ref resolved to nothing) vs a function that then
     // errored internally.
     int topType = static_cast<int>(lua_type(state, -1));
-    fprintf(stderr,
-            "[verifyImpl] entering verify for object protocol=%d, stack top "
-            "type=%d\n",
-            (int)object->scriptProtocol(),
-            topType);
 
     lua_pushvalue(state, -1);
     if (static_cast<lua_Status>(rive_lua_pcall(state, 0, 1)) != LUA_OK)
@@ -337,11 +332,6 @@
                 name().c_str());
         return false;
     }
-    fprintf(stderr,
-            "[activate] script \"%s\" generatorFunctionRef=%u -> lua ref=%d\n",
-            name().c_str(),
-            generatorFunctionRef(),
-            ref);
     rive_lua_pushRef(state, ref);
 
     if (!m_initted)