EvtContext::DeletingDestructor
function · core · orchestration
- Address
0x423240· 399 bytes, up to0x4233ce- Meaning
- Frees a context's handlers, messages, held keys and timers, then the context when bit 0 is set
- Confidence
- verified, proof two
- Finding
- core/loop#start-and-stop
Finding: Start and stop in core: the frame loop
Category 7 is dispatched once per context: on its first tick, or at teardown if it never ticked.
A context closes when its run state becomes 1: by 0x41f9b0 on a handle (the current context
for null), or by the window asking to quit. At the end of that tick the loop unloads it and
0x420e60 dispatches category 3, sets run state 2, drains its messages, dispatches category 4,
unbinds it and deletes it. When the last interactive context goes, 0x422030 sets the shutdown
event, and the loop exits at its next test.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 15
- __ehvec_dtor crt
- FreeThreadPropArray base
- RemoveHeapNode core
- DestroyTimerHeap core
- FreeUint32Array core
- ClearMessageList core
- ClearKeyList core
- FreeTimerArray core
- DeleteHandlerRecord core
- DeleteMessage core
- DeleteKeyRecord core
- UnlinkContextListNode core
- DestroyNameObject os
- SMemFree storm
- SCritSect::~SCritSect storm
Calls and jumps by a bare address, from tables/calls.tsv.