mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 11:30:18 +00:00
...
This commit is contained in:
parent
9c854662e2
commit
cc512a76e3
@ -226,8 +226,8 @@ struct MemoryPool{
|
|||||||
PK_GLOBAL_SCOPE_LOCK();
|
PK_GLOBAL_SCOPE_LOCK();
|
||||||
_arenas.apply([this](Arena* arena){
|
_arenas.apply([this](Arena* arena){
|
||||||
if(arena->full()){
|
if(arena->full()){
|
||||||
delete arena;
|
|
||||||
_arenas.erase(arena);
|
_arenas.erase(arena);
|
||||||
|
delete arena;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user