Skip to content

Commit 7135ceb

Browse files
authored
[NFC] Correct "FIFO" to "LIFO" in WasmFS comment (#19550)
1 parent 348687f commit 7135ceb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/lib/wasmfs/wasmfs.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ WasmFS::WasmFS() : rootDirectory(initRootDirectory()), cwd(rootDirectory) {
4747
// first allocation, which happens inside WasmFS code (since the WasmFS global
4848
// object creates some data structures). As a result LSan's atexit() destructor
4949
// will be called last, after WasmFS is cleaned up, since atexit() calls work
50-
// are FIFO (like a stack). But that is a problem, since if WasmFS has shut
50+
// are LIFO (like a stack). But that is a problem, since if WasmFS has shut
5151
// down and deallocated itself then the leak code cannot actually print any of
5252
// its findings, if it has any. To avoid that, define the LSan entry point as a
5353
// weak symbol, and call it; if LSan is not enabled this can be optimized out,

0 commit comments

Comments
 (0)