mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-17 00:32:21 +00:00
Shorten the render failure notice's comments and docs
Comments keep only the why: the loop-running flag, the mid-raise events and the one-time canvas focus. The CURRENT-STATE section lists behaviour and pitfalls instead of retelling the code, and no longer says every tileset event is raised outside Scene's error handling.
This commit is contained in:
1 parent
d42b6fe764
commit
df41c0affb
7 files changed
+74
-120
No files matched your search
@@ -1,8 +1,6 @@
|
||||
// Retry after an error thrown by a scene event listener. Cesium's
|
||||
// Event.raiseEvent has no try/finally: a throwing listener leaves the event
|
||||
// with _invokingListeners = true, so listeners added or removed afterwards are
|
||||
// only queued (_toAdd/_toRemove) until the next raise of that event completes.
|
||||
// Drives Cesium's real Event and startRenderLoop (CesiumWidget.prototype).
|
||||
// Retry after a scene event listener throws. Cesium's Event.raiseEvent has no
|
||||
// try/finally, so the event stays mid-raise and only queues listener changes.
|
||||
// Drives Cesium's real Event and startRenderLoop.
|
||||
import test from 'node:test';
|
||||
import assert from 'node:assert/strict';
|
||||
import * as Cesium from 'cesium';
|
||||
|
||||
Reference in new issue
Block a user