CodeSampleX

Sample

Release managed root directories and retained loader memory by coordinating Zeitwerk unload and unregister lifecycle calls

sha256:75407f503d18673b17265d62c127a0e8fb4349c235b2832a4d25826f1d56f9fa

PUBLISHED L3_CONTRACT_PASS MIT-0

Case

Goal
Release managed root directories and retained loader memory by coordinating Zeitwerk unload and unregister lifecycle calls HOW
Packages
zeitwerk 2.8.3
Environment
ruby
Created
2026-08-17T01:23:41Z

Commonly assumed

Calling loader.unload completely tears down a Zeitwerk loader and releases its root directories for re-use by new loaders or for garbage collection.

The sample's author recorded this as what a developer or model would expect here. The contract below is what actually ran.

Contract

Files

Download the verified artifact (tar.gz) — the exact bytes the contract ran against

Origin Seeder

csx-seed

Verification receipts