@geastack/core 0.1.31 → 0.1.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/gea_app_entry.cpp CHANGED
@@ -274,9 +274,12 @@ void Application::frame(int timestampMs)
274
274
  applicationFramePhaseSet(ApplicationFramePhase::AnimationFrameCallbacks);
275
275
  gea::host::runAnimationFrameCallbacks(static_cast<double>(timestampMs));
276
276
  generated::drainMicrotasks();
277
+ // Offline builds have no network events to drain. Avoid locking empty queues every frame.
278
+ #if !defined(GEA_EMBEDDED_NETWORK_SERVICES_DISABLED) || !GEA_EMBEDDED_NETWORK_SERVICES_DISABLED
277
279
  gea::host::websocket::runCallbacks();
278
280
  gea::host::rtc::runCallbacks();
279
281
  gea::host::http::runRequests();
282
+ #endif
280
283
  recordFramePhase(ApplicationFramePhase::AnimationFrameCallbacks, phaseClockUs() - startUs);
281
284
 
282
285
  // Apply the coalesced style recompute for everything changed above, so layout
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geastack/core",
3
- "version": "0.1.31",
3
+ "version": "0.1.32",
4
4
  "description": "GeaStack app API, reactivity headers, runtime sources, and type declarations.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {