libroot: Fix typo in static variable name.
This commit is contained in:
@@ -123,7 +123,7 @@ private:
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
static AtExitInfoBlock sInitialAtExistInfoBlock;
|
static AtExitInfoBlock sInitialAtExitInfoBlock;
|
||||||
static AtExitInfoBlockList sAtExitInfoBlocks;
|
static AtExitInfoBlockList sAtExitInfoBlocks;
|
||||||
static AtExitInfoList sAtExitInfoStack;
|
static AtExitInfoList sAtExitInfoStack;
|
||||||
static recursive_lock sAtExitLock = RECURSIVE_LOCK_INITIALIZER("at exit lock");
|
static recursive_lock sAtExitLock = RECURSIVE_LOCK_INITIALIZER("at exit lock");
|
||||||
@@ -200,8 +200,8 @@ __cxa_atexit(void (*hook)(void*), void* data, void* dsoHandle)
|
|||||||
AtExitInfoBlock* block = sAtExitInfoBlocks.Head();
|
AtExitInfoBlock* block = sAtExitInfoBlocks.Head();
|
||||||
if (block == NULL) {
|
if (block == NULL) {
|
||||||
// might be the first call -- check the initial block
|
// might be the first call -- check the initial block
|
||||||
if (!sInitialAtExistInfoBlock.IsEmpty()) {
|
if (!sInitialAtExitInfoBlock.IsEmpty()) {
|
||||||
block = &sInitialAtExistInfoBlock;
|
block = &sInitialAtExitInfoBlock;
|
||||||
} else {
|
} else {
|
||||||
// no empty block -- let's hope libroot is initialized sufficiently
|
// no empty block -- let's hope libroot is initialized sufficiently
|
||||||
// for the heap to work
|
// for the heap to work
|
||||||
|
|||||||
Reference in New Issue
Block a user