Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

Revert the editor watchdog: it cost two checks and did not cut the leak

yhh57f25d08e7e7
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index ec57641e0..90812661f 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -465,7 +465,12 @@ jobs:
# run too, so the next run answers it either way.
- name: How much is left, after the authoring checks
if: always()
- run: df -h / && df -i /
+ run: |
+ df -h / && df -i /
+ # HERE, not only at the end: the count after the gates is a different
+ # number (they kill their own), and comparing the two across runs is how
+ # a watchdog that made the leak WORSE read as an improvement.
+ echo "electron after the checks: $(pgrep -c electron 2>/dev/null || echo 0)"
# The pixel gates whose subject is an editor door — the reference grid, hit
# testing, the editor eye, preview renders. They cannot run on the engine's
diff --git a/desktop b/desktop
index 42c8c5568..c666aa57f 160000
--- a/desktop
+++ b/desktop
@@ -1 +1 @@
-Subproject commit 42c8c5568f86c21cb717ab9975ccb43f9d25e20a
+Subproject commit c666aa57f47acbaabb831fee644f97befa533e12